NByteArrayEntity
@Deprecated public class ByteArrayNIOEntity extends ByteArrayEntity implements HttpNIOEntity
HttpEntity
interface this class also implements NIO specific
HttpNIOEntity
.content
chunked, contentEncoding, contentType
Constructor and Description |
---|
ByteArrayNIOEntity(byte[] b)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReadableByteChannel |
getChannel()
Deprecated.
|
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo
public ReadableByteChannel getChannel() throws IOException
getChannel
in interface HttpNIOEntity
IOException
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.