public interface HttpEntity
| Modifier and Type | Method and Description |
|---|---|
Charset |
getCharset()
Returns the charset
|
InputStream |
getContent()
Returns the content as input stream
|
long |
getContentLength()
Returns the content length
|
MimeType |
getContentType()
Returns the media type
|
void |
writeTo(OutputStream out)
Write this entity into
out |
MimeType getContentType()
Charset getCharset()
InputStream getContent() throws IOException
IOExceptionlong getContentLength()
throws IOException
IOExceptionvoid writeTo(OutputStream out) throws IOException
outout - The output streamIOException - if write failedCopyright © 2015–2017 SDKLite. All rights reserved.