Package | Description |
---|---|
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.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 |
The blocking I/O abstraction of the HTTP components.
|
org.apache.http.message |
A selection of HTTP message implementations.
|
org.apache.http.nio |
The core HTTP components based on non-blocking I/O model (HttpCore NIO).
|
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) |
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 | Method and Description |
---|---|
HttpMessage |
AbstractMessageParser.parse() |
protected HttpMessage |
HttpRequestParser.parseHead(SessionInputBuffer sessionBuffer) |
protected abstract HttpMessage |
AbstractMessageParser.parseHead(SessionInputBuffer sessionBuffer)
Subclasses must override this method to generate an instance of
HttpMessage based on the initial input from the session buffer. |
protected HttpMessage |
HttpResponseParser.parseHead(SessionInputBuffer sessionBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageWriter.write(HttpMessage message) |
protected abstract void |
AbstractMessageWriter.writeHeadLine(HttpMessage message)
Subclasses must override this method to write out the first header line
based on the
HttpMessage passed as a parameter. |
protected void |
HttpResponseWriter.writeHeadLine(HttpMessage message) |
protected void |
HttpRequestWriter.writeHeadLine(HttpMessage message) |
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 |
HttpRequestParser.createMessage(CharArrayBuffer buffer)
Deprecated.
|
protected HttpMessage |
HttpResponseParser.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 | Method and Description |
---|---|
HttpMessage |
HttpMessageParser.parse()
Generates an instance of
HttpMessage from the underlying data
source. |
Modifier and Type | Method and Description |
---|---|
void |
HttpMessageWriter.write(HttpMessage message)
Serializes an instance of
HttpMessage to the underlying 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-2012 The Apache Software Foundation. All Rights Reserved.