Uses of Interface
org.apache.hc.core5.reactor.IOEventHandlerFactory
-
Packages that use IOEventHandlerFactory Package Description org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.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 Default implementation of HTTP/2 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.reactor Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.org.apache.hc.core5.testing.nio -
-
Uses of IOEventHandlerFactory in org.apache.hc.core5.http.impl.bootstrap
Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type IOEventHandlerFactory Constructor Description AsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
AsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)
UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener)
UseAsyncServerBootstrap
to create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, java.lang.String canonicalName)
UseAsyncServerBootstrap
to create instances of this class. -
Uses of IOEventHandlerFactory in org.apache.hc.core5.http.impl.nio
Classes in org.apache.hc.core5.http.impl.nio that implement IOEventHandlerFactory Modifier and Type Class Description class
ClientHttp1IOEventHandlerFactory
ClientHttp1IOEventHandler
factory.class
ServerHttp1IOEventHandlerFactory
ServerHttp1IOEventHandler
factory. -
Uses of IOEventHandlerFactory in org.apache.hc.core5.http2.impl.nio
Classes in org.apache.hc.core5.http2.impl.nio that implement IOEventHandlerFactory Modifier and Type Class Description class
ClientHttpProtocolNegotiationStarter
Client I/O event starter that prepares I/O sessions for an initial protocol handshake.class
ServerHttpProtocolNegotiationStarter
Server I/O event starter that prepares I/O sessions for an initial protocol handshake. -
Uses of IOEventHandlerFactory in org.apache.hc.core5.http2.impl.nio.bootstrap
Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type IOEventHandlerFactory Constructor Description H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)
UseH2RequesterBootstrap
to create instances of this class.H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
UseH2RequesterBootstrap
to create instances of this class.H2MultiplexingRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)
UseH2MultiplexingRequesterBootstrap
to create instances of this class. -
Uses of IOEventHandlerFactory in org.apache.hc.core5.reactor
Classes in org.apache.hc.core5.reactor that implement IOEventHandlerFactory Modifier and Type Class Description class
SocksProxyProtocolHandlerFactory
Deprecated.UseIOReactorConfig
.Fields in org.apache.hc.core5.reactor declared as IOEventHandlerFactory Modifier and Type Field Description private IOEventHandlerFactory
InternalConnectChannel. eventHandlerFactory
private IOEventHandlerFactory
SingleCoreIOReactor. eventHandlerFactory
private IOEventHandlerFactory
SocksProxyProtocolHandler. eventHandlerFactory
private IOEventHandlerFactory
SocksProxyProtocolHandlerFactory. eventHandlerFactory
Deprecated.Constructors in org.apache.hc.core5.reactor with parameters of type IOEventHandlerFactory Constructor Description DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory)
Creates an instance of DefaultConnectingIOReactor with default configuration.DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory threadFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig config, Callback<IOSession> sessionShutdownCallback)
DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory)
Creates an instance of DefaultListeningIOReactor with default configuration.DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory dispatchThreadFactory, java.util.concurrent.ThreadFactory listenerThreadFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
Creates an instance of DefaultListeningIOReactor with the given configuration.DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig config, Callback<IOSession> sessionShutdownCallback)
Creates an instance of DefaultListeningIOReactor with the given configuration.InternalConnectChannel(java.nio.channels.SelectionKey key, java.nio.channels.SocketChannel socketChannel, IOSessionRequest sessionRequest, InternalDataChannel dataChannel, IOEventHandlerFactory eventHandlerFactory, IOReactorConfig reactorConfig)
SingleCoreIOReactor(Callback<java.lang.Exception> exceptionCallback, IOEventHandlerFactory eventHandlerFactory, IOReactorConfig reactorConfig, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
SocksProxyProtocolHandler(InternalDataChannel dataChannel, IOSessionRequest sessionRequest, IOEventHandlerFactory eventHandlerFactory, IOReactorConfig reactorConfig)
SocksProxyProtocolHandlerFactory(java.net.SocketAddress targetAddress, java.lang.String username, java.lang.String password, IOEventHandlerFactory eventHandlerFactory)
Deprecated. -
Uses of IOEventHandlerFactory in org.apache.hc.core5.testing.nio
Classes in org.apache.hc.core5.testing.nio that implement IOEventHandlerFactory Modifier and Type Class Description (package private) class
InternalClientHttp1EventHandlerFactory
(package private) class
InternalClientProtocolNegotiationStarter
(package private) class
InternalServerHttp1EventHandlerFactory
(package private) class
InternalServerProtocolNegotiationStarter
Methods in org.apache.hc.core5.testing.nio with parameters of type IOEventHandlerFactory Modifier and Type Method Description (package private) DefaultConnectingIOReactor
AsyncRequester. createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback)
(package private) DefaultListeningIOReactor
AsyncServer. createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback)
(package private) abstract T
IOReactorExecutor. createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback)
protected void
IOReactorExecutor. execute(IOEventHandlerFactory ioEventHandlerFactory)
void
H2TestClient. start(IOEventHandlerFactory handlerFactory)
void
H2TestServer. start(IOEventHandlerFactory handlerFactory)
java.net.InetSocketAddress
Http1TestServer. start(IOEventHandlerFactory handlerFactory)
-