Interface HttpRequestBody
- All Known Implementing Classes:
HttpRequestBodyForm
public interface HttpRequestBody
HTTP Request Body.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBody()
The request body.The request body content type, may benull
.
-
Method Details
-
getContentType
String getContentType()The request body content type, may benull
.- Returns:
- The content type.
-
getBody
The request body.- Returns:
- Request body.
- Throws:
IOException
- If an error occurs while reading request body.
-