Uses of Interface
org.apache.hc.core5.reactor.IOSession
Packages that use IOSession
Package
Description
HTTP/1.1 requester and server bootstrap.
Commands for HTTP transports based on asynchronous, event driven I/O model.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
HTTP/2 capable requester and server bootstrap.
HTTP/2 specific pool component APIs.
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
TLS/SSL support for I/O reactors.
-
Uses of IOSession in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap that return types with arguments of type IOSessionModifier and TypeMethodDescriptionAsyncRequester.requestSession(HttpHost host, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type IOSessionModifier and TypeMethodDescriptionAsyncRequester.requestSession(HttpHost host, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) final AsyncRequesterBootstrapAsyncRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final AsyncServerBootstrapAsyncServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) Constructor parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type IOSessionModifierConstructorDescriptionAsyncRequester(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) UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool) UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener) UseAsyncServerBootstrapto create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, String canonicalName) UseAsyncServerBootstrapto create instances of this class. -
Uses of IOSession in org.apache.hc.core5.http.nio.command
Fields in org.apache.hc.core5.http.nio.command with type parameters of type IOSessionModifier and TypeFieldDescriptionShutdownCommand.GRACEFUL_IMMEDIATE_CALLBACKShutdownCommand.GRACEFUL_NORMAL_CALLBACKMethods in org.apache.hc.core5.http.nio.command with parameters of type IOSessionModifier and TypeMethodDescriptionstatic voidCommandSupport.cancelCommands(IOSession ioSession) Cancels all pending sessionCommands.static voidCommandSupport.failCommands(IOSession ioSession, Exception ex) Fails all pending sessionCommands. -
Uses of IOSession in org.apache.hc.core5.http2.impl.nio
Methods in org.apache.hc.core5.http2.impl.nio with parameters of type IOSessionModifier and TypeMethodDescriptionvoidvoidvoidvoidHttpProtocolNegotiator.disconnected(IOSession session) voidvoidClientH2PrefaceHandler.inputReady(IOSession session, ByteBuffer src) voidHttpProtocolNegotiator.inputReady(IOSession session, ByteBuffer src) voidServerH2PrefaceHandler.inputReady(IOSession session, ByteBuffer src) voidClientH2PrefaceHandler.outputReady(IOSession session) voidHttpProtocolNegotiator.outputReady(IOSession session) voidServerH2PrefaceHandler.outputReady(IOSession session) void -
Uses of IOSession in org.apache.hc.core5.http2.impl.nio.bootstrap
Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type IOSessionModifier and TypeMethodDescriptionH2MultiplexingRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final H2RequesterBootstrapH2RequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final H2ServerBootstrapH2ServerBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) Constructor parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type IOSessionModifierConstructorDescriptionH2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool) UseH2RequesterBootstrapto create instances of this class.H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool) UseH2RequesterBootstrapto create instances of this class.H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseH2RequesterBootstrapto create instances of this class.H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseH2RequesterBootstrapto create instances of this class.H2MultiplexingRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost, InetSocketAddress> addressResolver, TlsStrategy tlsStrategy) UseH2MultiplexingRequesterBootstrapto create instances of this class. -
Uses of IOSession in org.apache.hc.core5.http2.nio.pool
Methods in org.apache.hc.core5.http2.nio.pool that return types with arguments of type IOSessionModifier and TypeMethodDescriptionH2ConnPool.connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) Methods in org.apache.hc.core5.http2.nio.pool with parameters of type IOSessionModifier and TypeMethodDescriptionprotected voidH2ConnPool.closeSession(IOSession ioSession, CloseMode closeMode) protected voidH2ConnPool.validateSession(IOSession ioSession, Callback<Boolean> callback) Method parameters in org.apache.hc.core5.http2.nio.pool with type arguments of type IOSessionModifier and TypeMethodDescriptionH2ConnPool.connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) -
Uses of IOSession in org.apache.hc.core5.reactor
Subinterfaces of IOSession in org.apache.hc.core5.reactorMethods in org.apache.hc.core5.reactor that return types with arguments of type IOSessionModifier and TypeMethodDescriptionConnectionInitiator.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Requests a connection to a remote host.AbstractIOSessionPool.connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) AbstractIOSessionPool.getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) Methods in org.apache.hc.core5.reactor with parameters of type IOSessionModifier and TypeMethodDescriptionprotected abstract voidAbstractIOSessionPool.closeSession(IOSession ioSession, CloseMode closeMode) voidTriggered after the given session has been just created.voidvoidIOEventHandler.disconnected(IOSession session) Triggered when the given session has been terminated.voidIOSessionListener.disconnected(IOSession session) voidTriggered when the given session throws a exception.voidvoidIOEventHandler.inputReady(IOSession session, ByteBuffer src) Triggered when the given session has input pending.voidIOSessionListener.inputReady(IOSession session) voidIOEventHandler.outputReady(IOSession session) Triggered when the given session is ready for output.voidIOSessionListener.outputReady(IOSession session) voidvoidTriggered when the given session has timed out.voidprotected abstract voidAbstractIOSessionPool.validateSession(IOSession ioSession, Callback<Boolean> callback) Method parameters in org.apache.hc.core5.reactor with type arguments of type IOSessionModifier and TypeMethodDescriptionConnectionInitiator.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Requests a connection to a remote host.AbstractIOSessionPool.connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) final voidAbstractIOSessionPool.enumAvailable(Callback<IOSession> callback) AbstractIOSessionPool.getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) Constructor parameters in org.apache.hc.core5.reactor with type arguments of type IOSessionModifierConstructorDescriptionDefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig config, 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.DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig config, Callback<IOSession> sessionShutdownCallback) Creates an instance of DefaultListeningIOReactor with the given configuration. -
Uses of IOSession in org.apache.hc.core5.reactor.ssl
Classes in org.apache.hc.core5.reactor.ssl that implement IOSessionModifier and TypeClassDescriptionclassSSLIOSessionis a decorator class intended to transparently extend anIOSessionwith transport layer security capabilities based on the SSL/TLS protocol.Methods in org.apache.hc.core5.reactor.ssl with parameters of type IOSessionConstructors in org.apache.hc.core5.reactor.ssl with parameters of type IOSessionModifierConstructorDescriptionSSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, Timeout connectTimeout) Creates new instance ofSSLIOSessionclass.SSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, FutureCallback<SSLSession> resultCallback) Creates new instance ofSSLIOSessionclass. -
Uses of IOSession in org.apache.hc.core5.testing.nio
Classes in org.apache.hc.core5.testing.nio that implement IOSessionMethods in org.apache.hc.core5.testing.nio that return IOSessionModifier and TypeMethodDescriptionMethods in org.apache.hc.core5.testing.nio that return types with arguments of type IOSessionModifier and TypeMethodDescriptionAsyncRequester.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AsyncRequester.requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback) Methods in org.apache.hc.core5.testing.nio with parameters of type IOSessionModifier and TypeMethodDescriptionvoidvoidLoggingIOSessionListener.disconnected(IOSession session) voidvoidLoggingIOSessionListener.inputReady(IOSession session) voidLoggingIOSessionListener.outputReady(IOSession session) voidvoidMethod parameters in org.apache.hc.core5.testing.nio with type arguments of type IOSessionModifier and TypeMethodDescriptionAsyncRequester.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AsyncRequester.requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback) Constructors in org.apache.hc.core5.testing.nio with parameters of type IOSessionModifierConstructorDescriptionClientSessionEndpoint(IOSession ioSession) LoggingIOSession(IOSession session, org.slf4j.Logger log, org.slf4j.Logger wireLog)