Class LoggingBHttpClientConnectionFactory
java.lang.Object
org.apache.hc.core5.testing.classic.LoggingBHttpClientConnectionFactory
- All Implemented Interfaces:
HttpConnectionFactory<LoggingBHttpClientConnection>
public class LoggingBHttpClientConnectionFactory
extends Object
implements HttpConnectionFactory<LoggingBHttpClientConnection>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CharCodingConfigprivate final Http1Configprivate final ContentLengthStrategystatic final LoggingBHttpClientConnectionFactoryprivate final ContentLengthStrategyprivate final HttpMessageWriterFactory<ClassicHttpRequest> private final HttpMessageParserFactory<ClassicHttpResponse> -
Constructor Summary
ConstructorsConstructorDescriptionLoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig) LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) -
Method Summary
-
Field Details
-
INSTANCE
-
http1Config
-
charCodingConfig
-
incomingContentStrategy
-
outgoingContentStrategy
-
requestWriterFactory
-
responseParserFactory
-
-
Constructor Details
-
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig) -
LoggingBHttpClientConnectionFactory
public LoggingBHttpClientConnectionFactory()
-
-
Method Details
-
createConnection
- Specified by:
createConnectionin interfaceHttpConnectionFactory<LoggingBHttpClientConnection>- Throws:
IOException
-