@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultBHttpServerConnectionFactory extends Object implements HttpConnectionFactory<DefaultBHttpServerConnection>
HttpServerConnection
s.Modifier and Type | Field and Description |
---|---|
private ConnectionConfig |
cconfig |
private ContentLengthStrategy |
incomingContentStrategy |
static DefaultBHttpServerConnectionFactory |
INSTANCE |
private ContentLengthStrategy |
outgoingContentStrategy |
private HttpMessageParserFactory<HttpRequest> |
requestParserFactory |
private HttpMessageWriterFactory<HttpResponse> |
responseWriterFactory |
Constructor and Description |
---|
DefaultBHttpServerConnectionFactory() |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig) |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig,
HttpMessageParserFactory<HttpRequest> requestParserFactory,
HttpMessageWriterFactory<HttpResponse> responseWriterFactory) |
Modifier and Type | Method and Description |
---|---|
DefaultBHttpServerConnection |
createConnection(Socket socket) |
public static final DefaultBHttpServerConnectionFactory INSTANCE
private final ConnectionConfig cconfig
private final ContentLengthStrategy incomingContentStrategy
private final ContentLengthStrategy outgoingContentStrategy
private final HttpMessageParserFactory<HttpRequest> requestParserFactory
private final HttpMessageWriterFactory<HttpResponse> responseWriterFactory
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)
public DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig)
public DefaultBHttpServerConnectionFactory()
public DefaultBHttpServerConnection createConnection(Socket socket) throws IOException
createConnection
in interface HttpConnectionFactory<DefaultBHttpServerConnection>
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses