@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultBHttpServerConnectionFactory extends Object implements HttpConnectionFactory<DefaultBHttpServerConnection>
HttpServerConnection
s.Modifier and Type | Class and Description |
---|---|
static class |
DefaultBHttpServerConnectionFactory.Builder
Builder for
DefaultBHttpServerConnectionFactory . |
Constructor and Description |
---|
DefaultBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig) |
DefaultBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory,
HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) |
DefaultBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig,
HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory,
HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) |
Modifier and Type | Method and Description |
---|---|
static DefaultBHttpServerConnectionFactory.Builder |
builder()
Create a new
DefaultBHttpServerConnectionFactory.Builder . |
DefaultBHttpServerConnection |
createConnection(Socket socket) |
public DefaultBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig)
public DefaultBHttpServerConnection createConnection(Socket socket) throws IOException
createConnection
in interface HttpConnectionFactory<DefaultBHttpServerConnection>
IOException
public static DefaultBHttpServerConnectionFactory.Builder builder()
DefaultBHttpServerConnectionFactory.Builder
.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.