## Uses of Interface
org.apache.http.HttpResponseFactory

Packages that use HttpResponseFactory
Package | Description
--- | ---
org.apache.http.impl | Default implementations for interfaces in `org.apache.http`.
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.impl.nio.pool | Basic implementations for interfaces in `org.apache.http.nio.pool`.
org.apache.http.nio.protocol | Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
org.apache.http.protocol | HTTP protocol execution framework and synchronous HTTP protocol handlers based on the blocking I/O model.

### Uses of HttpResponseFactory in org.apache.http.impl

Classes in org.apache.http.impl that implement HttpResponseFactory
Modifier and Type | Class and Description
--- | ---
`class` | `DefaultHttpResponseFactory` Default factory for creating `HttpResponse` objects.

Methods in org.apache.http.impl that return HttpResponseFactory
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.

Methods in org.apache.http.impl with parameters of type HttpResponseFactory
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.

### Uses of HttpResponseFactory in org.apache.http.impl.io

Constructors in org.apache.http.impl.io with parameters of type HttpResponseFactory
Constructor and Description
`DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser lineParser, HttpResponseFactory responseFactory, HttpParams params)` Deprecated. (4.3) use `DefaultHttpResponseParser.DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints)`
`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.

### Uses of HttpResponseFactory in org.apache.http.impl.nio

Methods in org.apache.http.impl.nio that return HttpResponseFactory
Modifier and Type | Method and Description
--- | ---
`protected HttpResponseFactory` | SSLClientIOEventDispatch.`createHttpResponseFactory()` Deprecated. Creates an instance of `DefaultHttpResponseFactory` to be used by HTTP connections for creating `HttpResponse` objects.
`protected HttpResponseFactory` | DefaultClientIOEventDispatch.`createHttpResponseFactory()` Deprecated. Creates an instance of `DefaultHttpResponseFactory` to be used by HTTP connections for creating `HttpResponse` objects.

Methods in org.apache.http.impl.nio with parameters of type HttpResponseFactory
Modifier and Type | Method and Description
--- | ---
`protected DefaultNHttpClientConnection` | SSLNHttpClientConnectionFactory.`createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) no longer used.
`protected DefaultNHttpClientConnection` | DefaultNHttpClientConnectionFactory.`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.

Constructors in org.apache.http.impl.nio with parameters of type HttpResponseFactory
Constructor and Description

`DefaultNHttpClientConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)`
Deprecated.
(4.3) use `DefaultNHttpClientConnection.DefaultNHttpClientConnection( IOSession, int, int, ByteBufferAllocator, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, NHttpMessageWriterFactory, NHttpMessageParserFactory)`

`DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) use `DefaultNHttpClientConnectionFactory.DefaultNHttpClientConnectionFactory( NHttpMessageParserFactory, NHttpMessageWriterFactory, ByteBufferAllocator, ConnectionConfig)`
`SSLNHttpClientConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) use `SSLNHttpClientConnectionFactory.SSLNHttpClientConnectionFactory(SSLContext, SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory, ByteBufferAllocator, ConnectionConfig)`

### Uses of HttpResponseFactory in org.apache.http.impl.nio.codecs

Constructors in org.apache.http.impl.nio.codecs with parameters of type HttpResponseFactory
Constructor and Description
`DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)` Deprecated. (4.3) use `DefaultHttpResponseParser.DefaultHttpResponseParser( SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints)`
`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.

### Uses of HttpResponseFactory in org.apache.http.impl.nio.pool

Constructors in org.apache.http.impl.nio.pool with parameters of type HttpResponseFactory
Constructor and Description
`BasicNIOConnFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)` Deprecated. (4.3) use `BasicNIOConnFactory.BasicNIOConnFactory(SSLContext, SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory, ByteBufferAllocator, ConnectionConfig)`

### Uses of HttpResponseFactory in org.apache.http.nio.protocol

Fields in org.apache.http.nio.protocol declared as HttpResponseFactory
Modifier and Type | Field and Description
--- | ---
`protected HttpResponseFactory` | AsyncNHttpServiceHandler.`responseFactory` Deprecated.
`protected HttpResponseFactory` | ThrottlingHttpServiceHandler.`responseFactory` Deprecated.

Constructors in org.apache.http.nio.protocol with parameters of type HttpResponseFactory
Constructor and Description
`AsyncNHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)` Deprecated.
`AsyncNHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)` Deprecated.
`BufferingHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)` Deprecated.
`BufferingHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)` Deprecated.
`HttpAsyncService(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpAsyncRequestHandlerMapper handlerMapper, HttpAsyncExpectationVerifier expectationVerifier)` Creates new instance of `HttpAsyncServerProtocolHandler`.

`HttpAsyncService(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpAsyncRequestHandlerResolver handlerResolver, HttpAsyncExpectationVerifier expectationVerifier, HttpParams params)`
Deprecated.
(4.3) use `HttpAsyncService.HttpAsyncService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpAsyncRequestHandlerMapper, HttpAsyncExpectationVerifier)`

`ThrottlingHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, Executor executor, HttpParams params)` Deprecated.
`ThrottlingHttpServiceHandler(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, Executor executor, HttpParams params)` Deprecated.

### Uses of HttpResponseFactory in org.apache.http.protocol

Methods in org.apache.http.protocol with parameters of type HttpResponseFactory
Modifier and Type | Method and Description
--- | ---
`void` | HttpService.`setResponseFactory(HttpResponseFactory responseFactory)` Deprecated. (4.1) set `HttpResponseFactory` using constructor

Constructors in org.apache.http.protocol with parameters of type HttpResponseFactory
Constructor and Description
`HttpService(HttpProcessor proc, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory)` Deprecated. (4.1) use `HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams)`
`HttpService(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerMapper handlerMapper)` Create a new HTTP service.
`HttpService(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerMapper handlerMapper, HttpExpectationVerifier expectationVerifier)` Create a new HTTP service.
`HttpService(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerResolver handlerResolver, HttpExpectationVerifier expectationVerifier, HttpParams params)` Deprecated. (4.3) use `HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper, HttpExpectationVerifier)`
`HttpService(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerResolver handlerResolver, HttpParams params)` Deprecated. (4.3) use `HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper)`