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 SessionOutputBuffer |
SocketHttpClientConnection.createSessionOutputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket . |
protected SessionOutputBuffer |
SocketHttpServerConnection.createSessionOutputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of
SessionOutputBuffer to be used for
sending data to the given Socket . |
Modifier and Type | Method and Description |
---|---|
protected HttpMessageWriter<HttpRequest> |
AbstractHttpClientConnection.createRequestWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP requests sent over this connection. |
protected HttpMessageWriter<HttpResponse> |
AbstractHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer,
HttpParams params)
Creates an instance of
HttpMessageWriter to be used for
writing out HTTP responses sent 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 |
---|---|
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 |
AbstractSessionOutputBuffer
Abstract base class for session output buffers that stream data to
an arbitrary
OutputStream . |
class |
SocketOutputBuffer
SessionOutputBuffer implementation bound to a Socket . |
Modifier and Type | Field and Description |
---|---|
protected SessionOutputBuffer |
AbstractMessageWriter.sessionBuffer |
Constructor and Description |
---|
AbstractMessageWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params)
Creates an instance of AbstractMessageWriter.
|
ChunkedOutputStream(SessionOutputBuffer out)
Wraps a session output buffer and chunks the output.
|
ChunkedOutputStream(SessionOutputBuffer out,
int bufferSize)
Wraps a session output buffer and chunk-encodes the output.
|
ContentLengthOutputStream(SessionOutputBuffer out,
long contentLength)
Wraps a session output buffer and cuts off output after a defined number
of bytes.
|
HttpRequestWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params) |
IdentityOutputStream(SessionOutputBuffer out) |
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.