content
Deprecated.
(4.2)
Cloneable, HttpEntitychunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZEByteArrayEntity(byte[] b) ByteArrayEntity(byte[] b,
int off,
int len) ByteArrayEntity(byte[] b,
int off,
int len,
ContentType contentType) ByteArrayEntity(byte[] b,
ContentType contentType) clone()longbooleanbooleanvoidwriteTo(OutputStream outStream) consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toStringHttpEntityisRepeatable in interface HttpEntityHttpEntitygetContentLength in interface HttpEntityLong.MAX_VALUE,
a negative number is returned.HttpEntityRepeatable entities are expected
to create a new instance of InputStream for each invocation
of this method and therefore can be consumed multiple times.
Entities that are not repeatable are expected
to return the same InputStream instance and therefore
may not be consumed more than once.
IMPORTANT: Please note all entity implementations must ensure that
all allocated resources are properly deallocated after
the InputStream.close() method is invoked.
getContent in interface HttpEntityHttpEntityIMPORTANT: Please note all entity implementations must ensure that all allocated resources are properly deallocated when this method returns.
writeTo in interface HttpEntityoutStream - the output stream to write entity content toIOException - if an I/O error occursisStreaming in interface HttpEntityfalseclone in class ObjectCloneNotSupportedException