Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.io.support |
Support classes for the classic (blocking) I/O model.
|
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setResponseFactory(HttpResponseFactory<ClassicHttpResponse> responseFactory)
Assigns
HttpResponseFactory instance. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultClassicHttpResponseFactory
Default factory for creating
ClassicHttpResponse objects. |
Constructor and Description |
---|
DefaultHttpResponseParser(LineParser lineParser,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1Config http1Config)
Creates new instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(LineParser lineParser,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
HttpService(HttpProcessor processor,
HttpRequestMapper<HttpRequestHandler> handlerMapper,
ConnectionReuseStrategy connReuseStrategy,
HttpResponseFactory<ClassicHttpResponse> responseFactory)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
HttpRequestMapper<HttpRequestHandler> handlerMapper,
ConnectionReuseStrategy connReuseStrategy,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1StreamListener streamListener)
Create a new HTTP service.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpResponseFactory
Default factory for creating
HttpResponse objects. |
Constructor and Description |
---|
DefaultHttpResponseParser(HttpResponseFactory<T> responseFactory) |
DefaultHttpResponseParser(HttpResponseFactory<T> responseFactory,
Http1Config http1Config) |
DefaultHttpResponseParser(HttpResponseFactory<T> responseFactory,
LineParser parser,
Http1Config http1Config)
Creates an instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(Http1Config http1Config,
HttpResponseFactory<HttpResponse> responseFactory,
LineParser lineParser) |
Constructor and Description |
---|
BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.