public interface IMessageBody
Modifier and Type | Method and Description |
---|---|
int |
getContentLength()
Returns content length of this message body.
|
InputStream |
getMessageBodyInputStream()
Returns an input stream for this message body.
|
InputStream |
getMessageBodyTimeoutInputStream()
Returns an input stream for this message body whose read methods
keep retrying to read even when SocketTimeoutExceptions are thrown.
|
boolean |
isChunkedEncoding()
Returns whether the encoding of this message body is chunked encoding.
|
int getContentLength()
boolean isChunkedEncoding()
InputStream getMessageBodyTimeoutInputStream()
InputStream getMessageBodyInputStream()