org.apache.http.impl
Class DefaultBHttpServerConnectionFactory
java.lang.Object
org.apache.http.impl.DefaultBHttpServerConnectionFactory
- All Implemented Interfaces:
- HttpConnectionFactory<DefaultBHttpServerConnection>
@Contract(threading=IMMUTABLE_CONDITIONAL)
public class DefaultBHttpServerConnectionFactory
- extends Object
- implements HttpConnectionFactory<DefaultBHttpServerConnection>
Default factory for HttpServerConnection
s.
- Since:
- 4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultBHttpServerConnectionFactory INSTANCE
DefaultBHttpServerConnectionFactory
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
DefaultBHttpServerConnectionFactory
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
DefaultBHttpServerConnectionFactory
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig)
DefaultBHttpServerConnectionFactory
public DefaultBHttpServerConnectionFactory()
createConnection
public DefaultBHttpServerConnection createConnection(Socket socket)
throws IOException
- Specified by:
createConnection
in interface HttpConnectionFactory<DefaultBHttpServerConnection>
- Throws:
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.