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.
|
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
ExceptionListener instance. |
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
Http1StreamListener instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
Http1StreamListener instance. |
RequesterBootstrap |
RequesterBootstrap.setStreamListener(Http1StreamListener streamListener) |
Modifier and Type | Method and Description |
---|---|
HttpRequestExecutor.Builder |
HttpRequestExecutor.Builder.withHttp1StreamListener(Http1StreamListener streamListener) |
HttpService.Builder |
HttpService.Builder.withHttp1StreamListener(Http1StreamListener streamListener) |
Constructor and Description |
---|
HttpRequestExecutor(Http1Config http1Config,
ConnectionReuseStrategy connReuseStrategy,
Http1StreamListener streamListener)
Creates new instance of HttpRequestExecutor.
|
HttpRequestExecutor(Timeout waitForContinue,
ConnectionReuseStrategy connReuseStrategy,
Http1StreamListener streamListener)
|
HttpService(HttpProcessor processor,
HttpRequestMapper<HttpRequestHandler> handlerMapper,
ConnectionReuseStrategy connReuseStrategy,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1StreamListener streamListener)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
HttpServerRequestHandler requestHandler,
ConnectionReuseStrategy connReuseStrategy,
Http1StreamListener streamListener)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
HttpServerRequestHandler requestHandler,
Http1Config http1Config,
ConnectionReuseStrategy connReuseStrategy,
Http1StreamListener streamListener)
Create a new HTTP service.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.