Package org.apache.http.impl.nio
Class DefaultNHttpServerConnectionFactory
- java.lang.Object
-
- org.apache.http.impl.nio.DefaultNHttpServerConnectionFactory
-
- All Implemented Interfaces:
NHttpConnectionFactory<DefaultNHttpServerConnection>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultNHttpServerConnectionFactory extends java.lang.Object implements NHttpConnectionFactory<DefaultNHttpServerConnection>
Default factory for plain (non-encrypted), non-blockingNHttpServerConnection
s.- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description DefaultNHttpServerConnectionFactory()
DefaultNHttpServerConnectionFactory(ConnectionConfig config)
DefaultNHttpServerConnectionFactory(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)
DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig)
DefaultNHttpServerConnectionFactory(HttpParams params)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultNHttpServerConnection
createConnection(IOSession session)
-
-
-
Constructor Detail
-
DefaultNHttpServerConnectionFactory
@Deprecated public DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params)
-
DefaultNHttpServerConnectionFactory
@Deprecated public DefaultNHttpServerConnectionFactory(HttpParams params)
Deprecated.
-
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)
- Since:
- 4.3
-
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig)
- Since:
- 4.3
-
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory(ConnectionConfig config)
- Since:
- 4.3
-
DefaultNHttpServerConnectionFactory
public DefaultNHttpServerConnectionFactory()
- Since:
- 4.3
-
-
Method Detail
-
createConnection
public DefaultNHttpServerConnection createConnection(IOSession session)
- Specified by:
createConnection
in interfaceNHttpConnectionFactory<DefaultNHttpServerConnection>
-
-