Package | Description |
---|---|
org.apache.http.impl |
Default implementations for interfaces in
org.apache.http . |
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 . |
Modifier and Type | Method and Description |
---|---|
protected SessionInputBuffer |
SocketHttpServerConnection.createHttpDataReceiver(Socket socket,
int buffersize,
HttpParams params)
|
protected SessionInputBuffer |
SocketHttpServerConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionInputBuffer |
SocketHttpClientConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SocketInputBuffer to be used for
receiving data from the given Socket . |
Modifier and Type | Method and Description |
---|---|
protected HttpMessageParser |
AbstractHttpServerConnection.createRequestParser(SessionInputBuffer buffer,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of
HttpMessageParser to be used for parsing
HTTP requests received over this connection. |
protected HttpMessageParser |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of
HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
protected void |
AbstractHttpClientConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
protected void |
AbstractHttpServerConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with
SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
Modifier and Type | Method and Description |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates an
HttpEntity based on properties of the given message. |
protected BasicHttpEntity |
EntityDeserializer.doDeserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates a
BasicHttpEntity based on properties of the given
message. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionInputBuffer
Abstract base class for session input buffers that stream data from
an arbitrary
InputStream . |
class |
SocketInputBuffer
SessionInputBuffer implementation bound to a Socket . |
Modifier and Type | Method and Description |
---|---|
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) |
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inbuffer,
int maxHeaderCount,
int maxLineLen,
LineParser parser)
Parses HTTP headers from the data receiver stream according to the generic
format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
|
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inbuffer,
int maxHeaderCount,
int maxLineLen,
LineParser parser,
List headerLines)
Parses HTTP headers from the data receiver stream according to the generic
format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
|
Constructor and Description |
---|
AbstractMessageParser(SessionInputBuffer buffer,
LineParser parser,
HttpParams params)
Creates an instance of this class.
|
ChunkedInputStream(SessionInputBuffer in)
Wraps session input stream and reads chunk coded input.
|
ContentLengthInputStream(SessionInputBuffer in,
long contentLength)
Wraps a session input buffer and cuts off output after a defined number
of bytes.
|
HttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of this class.
|
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of this class.
|
IdentityInputStream(SessionInputBuffer in)
Wraps session input stream and reads input until the the end of stream.
|
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.