Class HTTPResponseData

java.lang.Object
org.omegazero.http.common.HTTPMessageData
org.omegazero.http.common.HTTPResponseData
All Implemented Interfaces:
Serializable

public class HTTPResponseData extends HTTPMessageData
Special form of a HTTPMessageData object for HTTPResponses.
Since:
1.2.1
See Also:
  • Constructor Details

    • HTTPResponseData

      public HTTPResponseData(HTTPResponse httpMessage, byte[] data)
      Creates a new HTTPResponseData instance.
      Parameters:
      httpMessage - The HTTP response
      data - The full or partial body of the httpMessage
    • HTTPResponseData

      public HTTPResponseData(HTTPResponse httpMessage, boolean lastPacket, byte[] data)
      Creates a new HTTPResponseData instance.
      Parameters:
      httpMessage - The HTTP response
      lastPacket - Whether this HTTPMessageData represents the last body data part
      data - The full or partial body of the httpMessage
  • Method Details