Represents the body content of a HTTP message (request/response).
| Type | Name and description |
|---|---|
String |
getContentEncoding()The Content-Encoding header of a request/response, if known. |
long |
getContentLength()The Content-Length header of a request/response, if known. |
String |
getContentType()The Content-Type header of a request/response, if known. |
InputStream |
getInputStream()@return content stream of the request/response. |
void |
writeTo(OutputStream outstream)Writes the body content out to the output stream. |
The Content-Encoding header of a request/response, if known.
The Content-Length header of a request/response, if known.
The Content-Type header of a request/response, if known.
Writes the body content out to the output stream.
outstream - the output stream to write entity content to