public class LoggingBHttpServerConnectionFactory extends Object implements HttpConnectionFactory<LoggingBHttpServerConnection>
Modifier and Type | Field and Description |
---|---|
static LoggingBHttpServerConnectionFactory |
INSTANCE |
Constructor and Description |
---|
LoggingBHttpServerConnectionFactory() |
LoggingBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig) |
LoggingBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory,
HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) |
LoggingBHttpServerConnectionFactory(String scheme,
Http1Config http1Config,
CharCodingConfig charCodingConfig,
HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory,
HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) |
Modifier and Type | Method and Description |
---|---|
LoggingBHttpServerConnection |
createConnection(Socket socket) |
LoggingBHttpServerConnection |
createConnection(SSLSocket sslSocket,
Socket socket)
|
public static final LoggingBHttpServerConnectionFactory INSTANCE
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig)
public LoggingBHttpServerConnectionFactory()
public LoggingBHttpServerConnection createConnection(Socket socket) throws IOException
createConnection
in interface HttpConnectionFactory<LoggingBHttpServerConnection>
IOException
public LoggingBHttpServerConnection createConnection(SSLSocket sslSocket, Socket socket) throws IOException
HttpConnectionFactory
createConnection
in interface HttpConnectionFactory<LoggingBHttpServerConnection>
sslSocket
- the SSL socket. May be null
.socket
- the plain socket SSL socket has been layered over.IOException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.