org.apache.http.impl.nio
Class DefaultNHttpServerConnectionFactory

java.lang.Object
  extended by org.apache.http.impl.nio.DefaultNHttpServerConnectionFactory
All Implemented Interfaces:
NHttpConnectionFactory<DefaultNHttpServerConnection>

@Immutable
public class DefaultNHttpServerConnectionFactory
extends Object
implements NHttpConnectionFactory<DefaultNHttpServerConnection>

Default factory for plain (non-encrypted), non-blocking NHttpServerConnections.

Since:
4.2

Constructor Summary
DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator, NHttpMessageParserFactory<HttpRequest> requestParserFactory, ConnectionConfig config)
           
DefaultNHttpServerConnectionFactory(ConnectionConfig config)
           
DefaultNHttpServerConnectionFactory(HttpParams params)
          Deprecated. (4.3) use DefaultNHttpServerConnectionFactory(ConnectionConfig)
DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
          Deprecated. (4.3) use DefaultNHttpServerConnectionFactory( ByteBufferAllocator, NHttpMessageParserFactory, ConnectionConfig)
 
Method Summary
 DefaultNHttpServerConnection createConnection(IOSession session)
           
protected  DefaultNHttpServerConnection createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
          Deprecated. (4.3) no longer used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNHttpServerConnectionFactory

@Deprecated
public DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory,
                                                      ByteBufferAllocator allocator,
                                                      HttpParams params)
Deprecated. (4.3) use DefaultNHttpServerConnectionFactory( ByteBufferAllocator, NHttpMessageParserFactory, ConnectionConfig)


DefaultNHttpServerConnectionFactory

@Deprecated
public DefaultNHttpServerConnectionFactory(HttpParams params)
Deprecated. (4.3) use DefaultNHttpServerConnectionFactory(ConnectionConfig)


DefaultNHttpServerConnectionFactory

public DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator,
                                           NHttpMessageParserFactory<HttpRequest> requestParserFactory,
                                           ConnectionConfig config)
Since:
4.3

DefaultNHttpServerConnectionFactory

public DefaultNHttpServerConnectionFactory(ConnectionConfig config)
Since:
4.3
Method Detail

createConnection

@Deprecated
protected DefaultNHttpServerConnection createConnection(IOSession session,
                                                                   HttpRequestFactory requestFactory,
                                                                   ByteBufferAllocator allocator,
                                                                   HttpParams params)
Deprecated. (4.3) no longer used.


createConnection

public DefaultNHttpServerConnection createConnection(IOSession session)
Specified by:
createConnection in interface NHttpConnectionFactory<DefaultNHttpServerConnection>


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.