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.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.testing.classic |
Modifier and Type | Method and Description |
---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
Http1StreamListener instance. |
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
Http1StreamListener instance. |
ServerBootstrap |
ServerBootstrap.setStreamListener(Http1StreamListener streamListener)
Assigns
ExceptionListener instance. |
RequesterBootstrap |
RequesterBootstrap.setStreamListener(Http1StreamListener streamListener) |
Constructor and Description |
---|
HttpRequestExecutor(Timeout waitForContinue,
ConnectionReuseStrategy connReuseStrategy,
Http1StreamListener streamListener)
Creates new instance of HttpRequestExecutor.
|
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.
|
Modifier and Type | Method and Description |
---|---|
H2RequesterBootstrap |
H2RequesterBootstrap.setStreamListener(Http1StreamListener http1StreamListener)
Assigns
Http1StreamListener instance. |
H2ServerBootstrap |
H2ServerBootstrap.setStreamListener(Http1StreamListener http1StreamListener)
Assigns
Http1StreamListener instance. |
Modifier and Type | Class and Description |
---|---|
class |
LoggingHttp1StreamListener |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.