|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.entity.AbstractHttpEntity
org.apache.http.entity.ByteArrayEntity
org.apache.http.nio.entity.ByteArrayNIOEntity
NByteArrayEntity
@Deprecated public class ByteArrayNIOEntity
An entity whose content is retrieved from a byte array. In addition to the
standard HttpEntity interface this class also implements NIO specific
HttpNIOEntity.
| Field Summary |
|---|
| Fields inherited from class org.apache.http.entity.ByteArrayEntity |
|---|
content |
| Fields inherited from class org.apache.http.entity.AbstractHttpEntity |
|---|
chunked, contentEncoding, contentType |
| Constructor Summary | |
|---|---|
ByteArrayNIOEntity(byte[] b)
Deprecated. |
|
| Method Summary | |
|---|---|
ReadableByteChannel |
getChannel()
Deprecated. |
| Methods inherited from class org.apache.http.entity.ByteArrayEntity |
|---|
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo |
| Methods inherited from class org.apache.http.entity.AbstractHttpEntity |
|---|
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.http.HttpEntity |
|---|
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo |
| Constructor Detail |
|---|
public ByteArrayNIOEntity(byte[] b)
| Method Detail |
|---|
public ReadableByteChannel getChannel()
throws IOException
getChannel in interface HttpNIOEntityIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||