Package org.apache.hc.core5.http.impl.io
Class DefaultBHttpServerConnectionFactory.Builder
java.lang.Object
org.apache.hc.core5.http.impl.io.DefaultBHttpServerConnectionFactory.Builder
- Enclosing class:
DefaultBHttpServerConnectionFactory
Builder for
DefaultBHttpServerConnectionFactory.- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()charCodingConfig(CharCodingConfig charCodingConfig) http1Config(Http1Config http1Config) incomingContentLengthStrategy(ContentLengthStrategy incomingContentLengthStrategy) outgoingContentLengthStrategy(ContentLengthStrategy outgoingContentLengthStrategy) requestParserFactory(HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory) responseWriterFactory(HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)
-
Method Details
-
scheme
-
http1Config
-
charCodingConfig
public DefaultBHttpServerConnectionFactory.Builder charCodingConfig(CharCodingConfig charCodingConfig) -
incomingContentLengthStrategy
public DefaultBHttpServerConnectionFactory.Builder incomingContentLengthStrategy(ContentLengthStrategy incomingContentLengthStrategy) -
outgoingContentLengthStrategy
public DefaultBHttpServerConnectionFactory.Builder outgoingContentLengthStrategy(ContentLengthStrategy outgoingContentLengthStrategy) -
requestParserFactory
public DefaultBHttpServerConnectionFactory.Builder requestParserFactory(HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory) -
responseWriterFactory
public DefaultBHttpServerConnectionFactory.Builder responseWriterFactory(HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory) -
build
-