Class LoggingBHttpClientConnectionFactory
java.lang.Object
org.apache.hc.core5.testing.classic.LoggingBHttpClientConnectionFactory
- All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpClientConnection>
public class LoggingBHttpClientConnectionFactory
extends Object
implements org.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpClientConnection>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggingBHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) LoggingBHttpClientConnectionFactory(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.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) LoggingBHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection(Socket socket) createConnection(SSLSocket sslSocket, Socket socket)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(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.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory, org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory()
-
-
Method Details
-
createConnection
- Specified by:
createConnectionin interfaceorg.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpClientConnection>- Throws:
IOException
-
createConnection
public LoggingBHttpClientConnection createConnection(SSLSocket sslSocket, Socket socket) throws IOException - Specified by:
createConnectionin interfaceorg.apache.hc.core5.http.io.HttpConnectionFactory<LoggingBHttpClientConnection>- Throws:
IOException- Since:
- 5.3
-