public interface HttpResponseEntity
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength()
Returns the length of the content or a negative number if the length is not known.
|
java.io.InputStream |
contentStream()
Returns the content
InputStream of the entity. |
ContentType |
contentType()
Returns the content type of the entity.
|
ContentType contentType() throws java.io.IOException
java.io.IOExceptionlong contentLength()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream contentStream()
throws java.io.IOException
InputStream of the entity. If you don't consume the entire content, make sure you always close the InputStream.InputStream, never null.java.io.IOException