Class LoggingBHttpServerConnectionFactory
java.lang.Object
org.apache.hc.core5.testing.classic.LoggingBHttpServerConnectionFactory
- All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpServerConnection>
public class LoggingBHttpServerConnectionFactory
extends Object
implements org.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpServerConnection>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) LoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.ContentLengthStrategy incomingContentStrategy, org.apache.hc.core5.http.ContentLengthStrategy outgoingContentStrategy, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestParserFactory, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseWriterFactory) LoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestParserFactory, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseWriterFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection(Socket socket) createConnection(SSLSocket sslSocket, Socket socket)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.ContentLengthStrategy incomingContentStrategy, org.apache.hc.core5.http.ContentLengthStrategy outgoingContentStrategy, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestParserFactory, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseWriterFactory) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestParserFactory, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseWriterFactory) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory()
-
-
Method Details
-
createConnection
- Specified by:
createConnectionin interfaceorg.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpServerConnection>- Throws:
IOException
-
createConnection
public LoggingBHttpServerConnection createConnection(SSLSocket sslSocket, Socket socket) throws IOException - Specified by:
createConnectionin interfaceorg.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpServerConnection>- Throws:
IOException- Since:
- 5.3
-