org.mobicents.xcap.client.impl
Class XcapEntityImpl

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getContentAsString()
           
 org.apache.http.Header getContentEncoding()
           
 long getContentLength()
           
 org.apache.http.Header getContentType()
           
 byte[] getRawContent()
           
 boolean isChunked()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XcapEntityImpl

public XcapEntityImpl(org.apache.http.HttpEntity httpEntity)
               throws java.io.IOException
Parameters:
httpEntity -
Throws:
java.io.IOException
Method Detail

getContentAsString

public java.lang.String getContentAsString()
Specified by:
getContentAsString in interface XcapEntity

getContentEncoding

public org.apache.http.Header getContentEncoding()
Specified by:
getContentEncoding in interface XcapEntity

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface XcapEntity

getContentType

public org.apache.http.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.