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 CharCodingConfig
private final Http1Config
private final ContentLengthStrategy
static final LoggingBHttpClientConnectionFactory
private final ContentLengthStrategy
private 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:
createConnection
in interfaceHttpConnectionFactory<LoggingBHttpClientConnection>
- Throws:
IOException
-