org.apache.http.impl.nio
Class DefaultNHttpServerConnectionFactory
java.lang.Object
org.apache.http.impl.nio.DefaultNHttpServerConnectionFactory
- All Implemented Interfaces:
- NHttpConnectionFactory<NHttpServerIOTarget>
@Immutable
public class DefaultNHttpServerConnectionFactory
- extends Object
- implements NHttpConnectionFactory<NHttpServerIOTarget>
Plain (non-encrypted) NHttpServerConnection
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 |
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory(HttpParams params)
createConnection
protected NHttpServerIOTarget createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
createConnection
public NHttpServerIOTarget createConnection(IOSession session)
- Specified by:
createConnection
in interface NHttpConnectionFactory<NHttpServerIOTarget>
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.