@Immutable public class DefaultNHttpServerConnectionFactory extends Object implements NHttpConnectionFactory<DefaultNHttpServerConnection>
NHttpServerConnections.
The following parameters can be used to customize the behavior of this class:
| Constructor and Description |
|---|
DefaultNHttpServerConnectionFactory(HttpParams params) |
DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNHttpServerConnection |
createConnection(IOSession session) |
protected DefaultNHttpServerConnection |
createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params) |
public DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
public DefaultNHttpServerConnectionFactory(HttpParams params)
protected DefaultNHttpServerConnection createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
public DefaultNHttpServerConnection createConnection(IOSession session)
createConnection in interface NHttpConnectionFactory<DefaultNHttpServerConnection>Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.