Home » HttpComponents-Core-4.0.1 » org.apache.http.nio.entity » [javadoc | source]
org.apache.http.nio.entity
public class: ContentBufferEntity [javadoc | source]
java.lang.Object
   org.apache.http.entity.AbstractHttpEntity
      org.apache.http.entity.BasicHttpEntity
         org.apache.http.nio.entity.ContentBufferEntity

All Implemented Interfaces:
    HttpEntity

HTTP entity wrapper whose content is provided by a ContentInputBuffer .
Fields inherited from org.apache.http.entity.AbstractHttpEntity:
contentType,  contentEncoding,  chunked
Constructor:
 public ContentBufferEntity(HttpEntity entity,
    ContentInputBuffer buffer) 
    Creates new instance of ContentBufferEntity.
    Parameters:
    entity - the original entity.
    buffer - the content buffer.
Method from org.apache.http.nio.entity.ContentBufferEntity Summary:
getContentEncoding,   getContentLength,   getContentType,   isChunked
Methods from org.apache.http.entity.BasicHttpEntity:
consumeContent,   getContent,   getContentLength,   isRepeatable,   isStreaming,   setContent,   setContentLength,   writeTo
Methods from org.apache.http.entity.AbstractHttpEntity:
consumeContent,   getContentEncoding,   getContentType,   isChunked,   setChunked,   setContentEncoding,   setContentEncoding,   setContentType,   setContentType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.nio.entity.ContentBufferEntity Detail:
 public Header getContentEncoding() 
 public long getContentLength() 
 public Header getContentType() 
 public boolean isChunked()