org.apache.http.nio.entity
Class ContentBufferEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by org.apache.http.entity.BasicHttpEntity
          extended by org.apache.http.nio.entity.ContentBufferEntity
All Implemented Interfaces:
org.apache.http.HttpEntity

public class ContentBufferEntity
extends org.apache.http.entity.BasicHttpEntity


Field Summary
 
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType
 
Constructor Summary
ContentBufferEntity(org.apache.http.HttpEntity entity, ContentInputBuffer buffer)
           
 
Method Summary
 org.apache.http.Header getContentEncoding()
           
 long getContentLength()
           
 org.apache.http.Header getContentType()
           
 boolean isChunked()
           
 
Methods inherited from class org.apache.http.entity.BasicHttpEntity
consumeContent, getContent, isRepeatable, isStreaming, setContent, setContentLength, writeTo
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentBufferEntity

public ContentBufferEntity(org.apache.http.HttpEntity entity,
                           ContentInputBuffer buffer)
Method Detail

isChunked

public boolean isChunked()
Specified by:
isChunked in interface org.apache.http.HttpEntity
Overrides:
isChunked in class org.apache.http.entity.AbstractHttpEntity

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.http.HttpEntity
Overrides:
getContentLength in class org.apache.http.entity.BasicHttpEntity

getContentType

public org.apache.http.Header getContentType()
Specified by:
getContentType in interface org.apache.http.HttpEntity
Overrides:
getContentType in class org.apache.http.entity.AbstractHttpEntity

getContentEncoding

public org.apache.http.Header getContentEncoding()
Specified by:
getContentEncoding in interface org.apache.http.HttpEntity
Overrides:
getContentEncoding in class org.apache.http.entity.AbstractHttpEntity


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.