org.apache.http.impl.nio
Class DefaultNHttpClientConnectionFactory
java.lang.Object
org.apache.http.impl.nio.DefaultNHttpClientConnectionFactory
- All Implemented Interfaces:
- NHttpConnectionFactory<NHttpClientIOTarget>
@Immutable
public class DefaultNHttpClientConnectionFactory
- extends Object
- implements NHttpConnectionFactory<NHttpClientIOTarget>
Plain (non-encrypted) NHttpClientConnection
factory.
The following parameters can be used to customize the behavior of this
class:
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNHttpClientConnectionFactory
public DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
DefaultNHttpClientConnectionFactory
public DefaultNHttpClientConnectionFactory(HttpParams params)
createConnection
protected NHttpClientIOTarget createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
createConnection
public NHttpClientIOTarget createConnection(IOSession session)
- Specified by:
createConnection
in interface NHttpConnectionFactory<NHttpClientIOTarget>
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.