@Immutable public class DefaultNHttpClientConnectionFactory extends Object implements NHttpConnectionFactory<DefaultNHttpClientConnection>
NHttpClientConnection
s.
The following parameters can be used to customize the behavior of this class:
Constructor and Description |
---|
DefaultNHttpClientConnectionFactory(HttpParams params) |
DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
Modifier and Type | Method and Description |
---|---|
DefaultNHttpClientConnection |
createConnection(IOSession session) |
protected DefaultNHttpClientConnection |
createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params) |
public DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
public DefaultNHttpClientConnectionFactory(HttpParams params)
protected DefaultNHttpClientConnection createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
public DefaultNHttpClientConnection createConnection(IOSession session)
createConnection
in interface NHttpConnectionFactory<DefaultNHttpClientConnection>
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.