Interface HttpRequestBody

All Known Implementing Classes:
HttpRequestBodyForm

public interface HttpRequestBody
HTTP Request Body.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    The request body.
    The request body content type, may be null.
  • Method Details

    • getContentType

      String getContentType()
      The request body content type, may be null.
      Returns:
      The content type.
    • getBody

      byte[] getBody() throws IOException
      The request body.
      Returns:
      Request body.
      Throws:
      IOException - If an error occurs while reading request body.