@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultBHttpServerConnectionFactory extends java.lang.Object implements HttpConnectionFactory<DefaultBHttpServerConnection>
HttpServerConnections.| Modifier and Type | Field and Description |
|---|---|
private ConnectionConfig |
cconfig |
private ContentLengthStrategy |
incomingContentStrategy |
static DefaultBHttpServerConnectionFactory |
INSTANCE |
private ContentLengthStrategy |
outgoingContentStrategy |
private HttpMessageParserFactory<HttpRequest> |
requestParserFactory |
private HttpMessageWriterFactory<HttpResponse> |
responseWriterFactory |
| Constructor and Description |
|---|
DefaultBHttpServerConnectionFactory() |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig) |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
| Modifier and Type | Method and Description |
|---|---|
DefaultBHttpServerConnection |
createConnection(java.net.Socket socket) |
public static final DefaultBHttpServerConnectionFactory INSTANCE
private final ConnectionConfig cconfig
private final ContentLengthStrategy incomingContentStrategy
private final ContentLengthStrategy outgoingContentStrategy
private final HttpMessageParserFactory<HttpRequest> requestParserFactory
private final HttpMessageWriterFactory<HttpResponse> responseWriterFactory
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig)
public DefaultBHttpServerConnectionFactory()
public DefaultBHttpServerConnection createConnection(java.net.Socket socket) throws java.io.IOException
createConnection in interface HttpConnectionFactory<DefaultBHttpServerConnection>java.io.IOException