public class XcapEntityImpl extends Object implements XcapEntity
| Constructor and Description |
|---|
XcapEntityImpl(org.apache.http.HttpEntity httpEntity) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentAsString() |
Header |
getContentEncoding() |
long |
getContentLength() |
Header |
getContentType() |
byte[] |
getRawContent() |
boolean |
isChunked() |
String |
toString() |
public XcapEntityImpl(org.apache.http.HttpEntity httpEntity)
throws IOException
httpEntity - IOExceptionpublic String getContentAsString()
getContentAsString in interface XcapEntitypublic Header getContentEncoding()
getContentEncoding in interface XcapEntitypublic long getContentLength()
getContentLength in interface XcapEntitypublic Header getContentType()
getContentType in interface XcapEntitypublic byte[] getRawContent()
getRawContent in interface XcapEntitypublic boolean isChunked()
isChunked in interface XcapEntityCopyright © 2016. All Rights Reserved.