Class LoggingBHttpServerConnectionFactory
java.lang.Object
org.apache.hc.core5.testing.classic.LoggingBHttpServerConnectionFactory
- All Implemented Interfaces:
HttpConnectionFactory<LoggingBHttpServerConnection>
public class LoggingBHttpServerConnectionFactory
extends Object
implements HttpConnectionFactory<LoggingBHttpServerConnection>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CharCodingConfig
private final Http1Config
private final ContentLengthStrategy
static final LoggingBHttpServerConnectionFactory
private final ContentLengthStrategy
private final HttpMessageParserFactory
<ClassicHttpRequest> private final HttpMessageWriterFactory
<ClassicHttpResponse> private final String
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingBHttpServerConnectionFactory
(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) -
Method Summary
-
Field Details
-
INSTANCE
-
scheme
-
http1Config
-
charCodingConfig
-
incomingContentStrategy
-
outgoingContentStrategy
-
requestParserFactory
-
responseWriterFactory
-
-
Constructor Details
-
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig) -
LoggingBHttpServerConnectionFactory
public LoggingBHttpServerConnectionFactory()
-
-
Method Details
-
createConnection
- Specified by:
createConnection
in interfaceHttpConnectionFactory<LoggingBHttpServerConnection>
- Throws:
IOException
-