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

All Implemented Interfaces:
    HttpNIOEntity, Cloneable, HttpEntity

Deprecated! Use - NByteArrayEntity

An entity whose content is retrieved from a byte array. In addition to the standard HttpEntity interface this class also implements NIO specific HttpNIOEntity .
Fields inherited from org.apache.http.entity.ByteArrayEntity:
content
Fields inherited from org.apache.http.entity.AbstractHttpEntity:
contentType,  contentEncoding,  chunked
Constructor:
 public ByteArrayNIOEntity(byte[] b) 
Method from org.apache.http.nio.entity.ByteArrayNIOEntity Summary:
getChannel
Methods from org.apache.http.entity.ByteArrayEntity:
clone,   getContent,   getContentLength,   isRepeatable,   isStreaming,   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.ByteArrayNIOEntity Detail:
 public ReadableByteChannel getChannel() throws IOException 
      Deprecated!