public interface HttpBodyContent
Represents the body content of a HTTP message (request/response).
Type Params | Return Type | Name and description |
---|---|---|
|
public String |
getContentEncoding() The Content-Encoding header of a request/response, if known. |
|
public long |
getContentLength() The Content-Length header of a request/response, if known. |
|
public String |
getContentType() The Content-Type header of a request/response, if known. |
|
public InputStream |
getInputStream()
|
|
public 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