org.mobicents.xcap.client.impl
Class XcapEntityImpl
java.lang.Object
org.mobicents.xcap.client.impl.XcapEntityImpl
- All Implemented Interfaces:
- XcapEntity
public class XcapEntityImpl
- extends java.lang.Object
- implements XcapEntity
- Author:
- martins
|
Constructor Summary |
XcapEntityImpl(org.apache.http.HttpEntity httpEntity)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XcapEntityImpl
public XcapEntityImpl(org.apache.http.HttpEntity httpEntity)
throws java.io.IOException
- Parameters:
httpEntity -
- Throws:
java.io.IOException
getContentAsString
public java.lang.String getContentAsString()
- Specified by:
getContentAsString in interface XcapEntity
getContentEncoding
public Header getContentEncoding()
- Specified by:
getContentEncoding in interface XcapEntity
getContentLength
public long getContentLength()
- Specified by:
getContentLength in interface XcapEntity
getContentType
public Header getContentType()
- Specified by:
getContentType in interface XcapEntity
getRawContent
public byte[] getRawContent()
- Specified by:
getRawContent in interface XcapEntity
isChunked
public boolean isChunked()
- Specified by:
isChunked in interface XcapEntity
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.