Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
org.apache.hc.core5.testing.classic | |
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
Constructor and Description |
---|
AsyncRequester(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback,
Resolver<HttpHost,InetSocketAddress> addressResolver) |
AsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback) |
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener)
Use
AsyncServerBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
String canonicalName)
Use
AsyncServerBootstrap to create instances of this class. |
Constructor and Description |
---|
DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
Decorator<AsyncServerExchangeHandler> decorator) |
Modifier and Type | Method and Description |
---|---|
H2RequesterBootstrap |
H2RequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
H2ServerBootstrap |
H2ServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
|
Constructor and Description |
---|
H2AsyncRequester(HttpVersionPolicy versionPolicy,
IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool)
Use
H2RequesterBootstrap to create instances of this class. |
H2MultiplexingRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Resolver<HttpHost,InetSocketAddress> addressResolver,
TlsStrategy tlsStrategy)
Use
H2MultiplexingRequesterBootstrap to create instances of this class. |
Constructor and Description |
---|
DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
ThreadFactory threadFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback) |
DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
ThreadFactory dispatchThreadFactory,
ThreadFactory listenerThreadFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback)
Creates an instance of DefaultListeningIOReactor with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassicTestServer.start(Http1Config http1Config,
HttpProcessor httpProcessor,
Decorator<HttpServerRequestHandler> handlerDecorator) |
Modifier and Type | Class and Description |
---|---|
class |
LoggingIOSessionDecorator |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
H2TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
H2Config h2Config) |
InetSocketAddress |
Http1TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
Http1Config http1Config) |
InetSocketAddress |
H2TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
Http1Config http1Config) |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.