Class HTTPRequestData

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

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

    • HTTPRequestData

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

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