@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultBHttpClientConnectionFactory extends Object implements HttpConnectionFactory<DefaultBHttpClientConnection>
HttpClientConnection
s.Modifier and Type | Class and Description |
---|---|
static class |
DefaultBHttpClientConnectionFactory.Builder
Builder for
DefaultBHttpClientConnectionFactory . |
Constructor and Description |
---|
DefaultBHttpClientConnectionFactory() |
DefaultBHttpClientConnectionFactory(Http1Config http1Config,
CharCodingConfig charCodingConfig) |
DefaultBHttpClientConnectionFactory(Http1Config http1Config,
CharCodingConfig charCodingConfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) |
DefaultBHttpClientConnectionFactory(Http1Config http1Config,
CharCodingConfig charCodingConfig,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) |
Modifier and Type | Method and Description |
---|---|
static DefaultBHttpClientConnectionFactory.Builder |
builder()
Create a new
DefaultBHttpClientConnectionFactory.Builder . |
DefaultBHttpClientConnection |
createConnection(Socket socket) |
public DefaultBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public DefaultBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public DefaultBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig)
public DefaultBHttpClientConnectionFactory()
public DefaultBHttpClientConnection createConnection(Socket socket) throws IOException
createConnection
in interface HttpConnectionFactory<DefaultBHttpClientConnection>
IOException
public static DefaultBHttpClientConnectionFactory.Builder builder()
DefaultBHttpClientConnectionFactory.Builder
.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.