Package | Description |
---|---|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
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.bootstrap |
Embedded non-blocking server and server bootstrap.
|
org.apache.http.impl.nio.codecs |
Default implementations of message parses and writers
for asynchronous, even driven communication.
|
org.apache.http.impl.nio.pool |
Default implementations of client side connection pools
for asynchronous, even driven communication.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpResponseFactory
Default factory for creating
HttpResponse objects. |
Modifier and Type | Method and Description |
---|---|
protected HttpResponseFactory |
AbstractHttpClientConnection.createHttpResponseFactory()
Deprecated.
Creates an instance of
DefaultHttpResponseFactory to be used
for creating HttpResponse objects received by over this
connection. |
Modifier and Type | Method and Description |
---|---|
protected HttpMessageParser<HttpResponse> |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
Creates an instance of
HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setResponseFactory(HttpResponseFactory responseFactory)
Assigns
HttpResponseFactory instance. |
Constructor and Description |
---|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser lineParser,
HttpResponseFactory responseFactory,
HttpParams params)
|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser lineParser,
HttpResponseFactory responseFactory,
MessageConstraints constraints)
Creates new instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(LineParser lineParser,
HttpResponseFactory responseFactory) |
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected HttpResponseFactory |
DefaultClientIOEventDispatch.createHttpResponseFactory()
Deprecated.
Creates an instance of
DefaultHttpResponseFactory to be used
by HTTP connections for creating HttpResponse
objects. |
protected HttpResponseFactory |
SSLClientIOEventDispatch.createHttpResponseFactory()
Deprecated.
Creates an instance of
DefaultHttpResponseFactory to be used
by HTTP connections for creating HttpResponse
objects. |
Modifier and Type | Method and Description |
---|---|
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected NHttpMessageParser<HttpResponse> |
DefaultNHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
(4.3) use constructor.
|
Constructor and Description |
---|
DefaultNHttpClientConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
SSLNHttpClientConnectionFactory(SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setResponseFactory(HttpResponseFactory responseFactory)
Assigns
HttpResponseFactory instance. |
Constructor and Description |
---|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
MessageConstraints constraints)
Creates an instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(LineParser lineParser,
HttpResponseFactory responseFactory) |
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
|
Constructor and Description |
---|
BasicNIOConnFactory(SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
Modifier and Type | Field and Description |
---|---|
protected HttpResponseFactory |
ThrottlingHttpServiceHandler.responseFactory
Deprecated.
|
protected HttpResponseFactory |
AsyncNHttpServiceHandler.responseFactory
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseFactory |
HttpAsyncService.getResponseFactory()
Gets the HttpResponseFactory for this service.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpService.setResponseFactory(HttpResponseFactory responseFactory)
Deprecated.
(4.1) set
HttpResponseFactory using constructor |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.