Class ResponseHeader

java.lang.Object
io.odilon.client.http.ResponseHeader

public class ResponseHeader extends Object

HTTP response header class

Author:
atolomei@novamens.com (Alejandro Tolomei)
  • Constructor Details

    • ResponseHeader

      public ResponseHeader()
  • Method Details

    • setContentLength

      public void setContentLength(String contentLength)

      Sets content length

    • contentLength

      public long contentLength()
    • setContentType

      public void setContentType(String contentType)
    • contentType

      public String contentType()
    • setDate

      public void setDate(String strdate)
    • date

      public OffsetDateTime date()
    • setEtag

      public void setEtag(String etag)
    • etag

      public String etag()
    • setLastModified

      public void setLastModified(String lastModified)
    • lastModified

      public OffsetDateTime lastModified()
    • setServer

      public void setServer(String server)
    • server

      public String server()
    • setStatusCode

      public void setStatusCode(String statusCode)
    • statusCode

      public String statusCode()
    • setTransferEncoding

      public void setTransferEncoding(String transferEncoding)
    • transferEncoding

      public String transferEncoding()
    • toJSON

      public String toJSON()
    • toString

      public String toString()
      Overrides:
      toString in class Object