Package | Description |
---|---|
org.apache.http |
Core HTTP component APIs and primitives.
|
org.apache.http.entity |
Core HTTP entity implementations.
|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.entity |
Default implementations of entity content strategies.
|
org.apache.http.impl.io |
Default implementations of message parses and writers
for synchronous, blocking communication.
|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.impl.nio.codecs |
Default implementations of message parses and writers
for asynchronous, even driven communication.
|
org.apache.http.io |
HTTP message parser and writer APIs for synchronous, blocking
communication.
|
org.apache.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.http.nio |
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpEntityEnclosingRequest
A request with an entity.
|
interface |
HttpRequest
A request message from a client to a server includes, within the
first line of that message, the method to be applied to the resource,
the identifier of the resource, and the protocol version in use.
|
interface |
HttpResponse
After receiving and interpreting a request message, a server responds
with an HTTP response message.
|
Modifier and Type | Method and Description |
---|---|
long |
ContentLengthStrategy.determineLength(HttpMessage message)
Returns length of the given message in bytes.
|
Modifier and Type | Method and Description |
---|---|
protected HttpEntity |
BHttpConnectionBase.prepareInput(HttpMessage message) |
protected OutputStream |
BHttpConnectionBase.prepareOutput(HttpMessage message) |
Modifier and Type | Method and Description |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Deprecated.
Creates an
HttpEntity based on properties of the given message. |
long |
DisallowIdentityContentLengthStrategy.determineLength(HttpMessage message) |
long |
LaxContentLengthStrategy.determineLength(HttpMessage message) |
long |
StrictContentLengthStrategy.determineLength(HttpMessage message) |
protected BasicHttpEntity |
EntityDeserializer.doDeserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Deprecated.
Creates a
BasicHttpEntity based on properties of the given
message. |
protected OutputStream |
EntitySerializer.doSerialize(SessionOutputBuffer outbuffer,
HttpMessage message)
Deprecated.
Creates a transfer codec based on properties of the given HTTP message
and returns
OutputStream instance that transparently encodes
output data as it is being written out to the output stream. |
void |
EntitySerializer.serialize(SessionOutputBuffer outbuffer,
HttpMessage message,
HttpEntity entity)
Deprecated.
Writes out the content of the given HTTP entity to the session output
buffer based on properties of the given HTTP message.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageParser<T extends HttpMessage>
Abstract base class for HTTP message parsers that obtain input from
an instance of
SessionInputBuffer . |
class |
AbstractMessageWriter<T extends HttpMessage>
Abstract base class for HTTP message writers that serialize output to
an instance of
SessionOutputBuffer . |
Modifier and Type | Method and Description |
---|---|
protected HttpMessage |
HttpRequestParser.parseHead(SessionInputBuffer sessionBuffer)
Deprecated.
|
protected HttpMessage |
HttpResponseParser.parseHead(SessionInputBuffer sessionBuffer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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. |
protected void |
NHttpConnectionBase.prepareEncoder(HttpMessage message)
Initializes a specific
ContentEncoder implementation based on the
properties of the given HttpMessage . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageParser<T extends HttpMessage>
Abstract
NHttpMessageParser that serves as a base for all message
parser implementations. |
class |
AbstractMessageWriter<T extends HttpMessage>
Abstract
NHttpMessageWriter that serves as a base for all message
writer implementations. |
Modifier and Type | Method and Description |
---|---|
protected HttpMessage |
HttpResponseParser.createMessage(CharArrayBuffer buffer)
Deprecated.
|
protected HttpMessage |
HttpRequestParser.createMessage(CharArrayBuffer buffer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpResponseWriter.writeHeadLine(HttpMessage message)
Deprecated.
|
protected void |
HttpRequestWriter.writeHeadLine(HttpMessage message)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpMessageParser<T extends HttpMessage>
Abstract message parser intended to build HTTP messages from an arbitrary data source.
|
interface |
HttpMessageParserFactory<T extends HttpMessage>
Factory for
HttpMessageParser instances. |
interface |
HttpMessageWriter<T extends HttpMessage>
Abstract message writer intended to serialize HTTP messages to an arbitrary
data sink.
|
interface |
HttpMessageWriterFactory<T extends HttpMessage>
Factory for
HttpMessageWriter instances. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpMessage
Basic implementation of
HttpMessage . |
class |
BasicHttpEntityEnclosingRequest
Basic implementation of
HttpEntityEnclosingRequest . |
class |
BasicHttpRequest
Basic implementation of
HttpRequest . |
class |
BasicHttpResponse
Basic implementation of
HttpResponse . |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpMessageParser<T extends HttpMessage>
Abstract HTTP message parser for non-blocking connections.
|
interface |
NHttpMessageParserFactory<T extends HttpMessage>
Factory for
NHttpMessageParser instances. |
interface |
NHttpMessageWriter<T extends HttpMessage>
Abstract HTTP message writer for non-blocking connections.
|
interface |
NHttpMessageWriterFactory<T extends HttpMessage>
Factory for
NHttpMessageWriter instances. |
Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.