Package | Description |
---|---|
org.apache.http |
Core HTTP components based on the blocking I/O model.
|
org.apache.http.entity |
Common HTTP entity implementations.
|
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.io |
Default implementations for interfaces in
org.apache.http.io . |
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.impl.nio.codecs |
Default implementations for interfaces in
org.apache.http.nio.codecs . |
org.apache.http.io |
Blocking I/O session buffer, message parser / writer interfaces.
|
org.apache.http.message |
Basic HTTP message implementations.
|
org.apache.http.nio |
Core HTTP components based on the non-blocking I/O model.
|
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 |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates an
HttpEntity based on properties of the given message. |
long |
LaxContentLengthStrategy.determineLength(HttpMessage message) |
long |
StrictContentLengthStrategy.determineLength(HttpMessage message) |
long |
DisallowIdentityContentLengthStrategy.determineLength(HttpMessage message) |
protected BasicHttpEntity |
EntityDeserializer.doDeserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates a
BasicHttpEntity based on properties of the given
message. |
protected OutputStream |
EntitySerializer.doSerialize(SessionOutputBuffer outbuffer,
HttpMessage message)
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)
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 |
HttpResponseParser.parseHead(SessionInputBuffer sessionBuffer)
Deprecated.
|
protected HttpMessage |
HttpRequestParser.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 |
HttpRequestWriter.writeHeadLine(HttpMessage message)
Deprecated.
|
protected void |
HttpResponseWriter.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 |
HttpMessageWriter<T extends HttpMessage>
Abstract message writer intended to serialize HTTP messages to an arbitrary
data sink.
|
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 |
NHttpMessageWriter<T extends HttpMessage>
Abstract HTTP message writer for non-blocking connections.
|
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.