|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpEntity | |
---|---|
org.apache.http | The core HTTP components (HttpCore). |
org.apache.http.entity | Representations for HTTP message entities. |
org.apache.http.impl.entity | Default implementations for interfaces in
org.apache.http.entity and provides utility
classes for serialization and deserialization of HTTP content entities. |
org.apache.http.impl.nio | Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.message | A selection of HTTP message implementations. |
org.apache.http.nio.entity | Representations for non-blocking HTTP message entities. |
org.apache.http.util | Resizable
byte and
char arrays
and various utility classes with static helper methods. |
Uses of HttpEntity in org.apache.http |
---|
Methods in org.apache.http that return HttpEntity | |
---|---|
HttpEntity |
HttpEntityEnclosingRequest.getEntity()
Returns the entity associated with this request. |
HttpEntity |
HttpResponse.getEntity()
Obtains the message entity of this response, if any. |
Methods in org.apache.http with parameters of type HttpEntity | |
---|---|
void |
HttpEntityEnclosingRequest.setEntity(HttpEntity entity)
Associates the entity with this request. |
void |
HttpResponse.setEntity(HttpEntity entity)
Associates a response entity with this response. |
Uses of HttpEntity in org.apache.http.entity |
---|
Classes in org.apache.http.entity that implement HttpEntity | |
---|---|
class |
AbstractHttpEntity
Abstract base class for entities. |
class |
BasicHttpEntity
A generic streamed, non-repeatable entity that obtains its content from an InputStream . |
class |
BufferedHttpEntity
A wrapping entity that buffers it content if necessary. |
class |
ByteArrayEntity
A self contained, repeatable entity that obtains its content from a byte array. |
class |
EntityTemplate
Entity that delegates the process of content generation to a ContentProducer . |
class |
FileEntity
A self contained, repeatable entity that obtains its content from a file. |
class |
HttpEntityWrapper
Base class for wrapping entities. |
class |
InputStreamEntity
A streamed, non-repeatable entity that obtains its content from an InputStream . |
class |
SerializableEntity
A streamed entity that obtains its content from a Serializable . |
class |
StringEntity
A self contained, repeatable entity that obtains its content from a String . |
Fields in org.apache.http.entity declared as HttpEntity | |
---|---|
protected HttpEntity |
HttpEntityWrapper.wrappedEntity
The wrapped entity. |
Constructors in org.apache.http.entity with parameters of type HttpEntity | |
---|---|
BufferedHttpEntity(HttpEntity entity)
|
|
HttpEntityWrapper(HttpEntity wrapped)
Creates a new entity wrapper. |
Uses of HttpEntity in org.apache.http.impl.entity |
---|
Methods in org.apache.http.impl.entity that return HttpEntity | |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates an HttpEntity based on properties of the given message. |
Methods in org.apache.http.impl.entity with parameters of type HttpEntity | |
---|---|
void |
EntitySerializer.serialize(SessionOutputBuffer outbuffer,
HttpMessage message,
HttpEntity entity)
Writes out the content of the given HTTP entity to the session output buffer based on properties of the given HTTP message. |
Uses of HttpEntity in org.apache.http.impl.nio |
---|
Methods in org.apache.http.impl.nio that return HttpEntity | |
---|---|
protected HttpEntity |
NHttpConnectionBase.prepareDecoder(HttpMessage message)
Initializes a specific ContentDecoder implementation based on the
properties of the given HttpMessage and generates an instance of
HttpEntity matching the properties of the content decoder. |
Uses of HttpEntity in org.apache.http.message |
---|
Methods in org.apache.http.message that return HttpEntity | |
---|---|
HttpEntity |
BasicHttpEntityEnclosingRequest.getEntity()
|
HttpEntity |
BasicHttpResponse.getEntity()
|
Methods in org.apache.http.message with parameters of type HttpEntity | |
---|---|
void |
BasicHttpEntityEnclosingRequest.setEntity(HttpEntity entity)
|
void |
BasicHttpResponse.setEntity(HttpEntity entity)
|
Uses of HttpEntity in org.apache.http.nio.entity |
---|
Subinterfaces of HttpEntity in org.apache.http.nio.entity | |
---|---|
interface |
ConsumingNHttpEntity
A non-blocking HttpEntity that allows content to be streamed from a
ContentDecoder . |
interface |
HttpNIOEntity
Deprecated. Use ProducingNHttpEntity |
interface |
ProducingNHttpEntity
An HttpEntity that can stream content out into a
ContentEncoder . |
Classes in org.apache.http.nio.entity that implement HttpEntity | |
---|---|
class |
BufferingNHttpEntity
A ConsumingNHttpEntity that consumes content into a buffer. |
class |
ByteArrayNIOEntity
Deprecated. Use NByteArrayEntity |
class |
ConsumingNHttpEntityTemplate
A ConsumingNHttpEntity that forwards available content to a
ContentListener . |
class |
ContentBufferEntity
HTTP entity wrapper whose content is provided by a ContentInputBuffer . |
class |
FileNIOEntity
Deprecated. Use NFileEntity |
class |
NByteArrayEntity
A simple self contained, repeatable non-blocking entity that retrieves its content from a byte array. |
class |
NFileEntity
A self contained, repeatable non-blocking entity that retrieves its content from a file. |
class |
NHttpEntityWrapper
ProducingNHttpEntity compatibility adaptor for blocking HTTP
entities. |
class |
NStringEntity
A simple, self contained, repeatable non-blocking entity that retrieves its content from a String object. |
class |
StringNIOEntity
Deprecated. Use NStringEntity |
Constructors in org.apache.http.nio.entity with parameters of type HttpEntity | |
---|---|
BufferingNHttpEntity(HttpEntity httpEntity,
ByteBufferAllocator allocator)
|
|
ConsumingNHttpEntityTemplate(HttpEntity httpEntity,
ContentListener contentListener)
|
|
ContentBufferEntity(HttpEntity entity,
ContentInputBuffer buffer)
Creates new instance of ContentBufferEntity. |
|
NHttpEntityWrapper(HttpEntity httpEntity)
|
Uses of HttpEntity in org.apache.http.util |
---|
Methods in org.apache.http.util with parameters of type HttpEntity | |
---|---|
static String |
EntityUtils.getContentCharSet(HttpEntity entity)
Obtains character set of the entity, if known. |
static byte[] |
EntityUtils.toByteArray(HttpEntity entity)
Read the contents of an entity and return it as a byte array. |
static String |
EntityUtils.toString(HttpEntity entity)
Read the contents of an entity and return it as a String. |
static String |
EntityUtils.toString(HttpEntity entity,
String defaultCharset)
Get the entity content as a String, using the provided default character set if none is found in the entity. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |