Uses of Interface
org.apache.hc.core5.reactor.IOSession
Packages that use IOSession
Package
Description
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
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
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type IOSessionModifier and TypeFieldDescriptionprivate final ManagedConnPool<HttpHost, IOSession> HttpAsyncRequester.connPoolAsyncRequesterBootstrap.ioSessionDecoratorAsyncServerBootstrap.ioSessionDecorator(package private) final AtomicReference<PoolEntry<HttpHost, IOSession>> HttpAsyncRequester.InternalAsyncClientEndpoint.poolEntryRefMethods in org.apache.hc.core5.http.impl.bootstrap that return IOSessionModifier and TypeMethodDescriptionprivate IOSessionHttpAsyncRequester.InternalAsyncClientEndpoint.getIOSession()Methods in org.apache.hc.core5.http.impl.bootstrap that return types with arguments of type IOSessionModifier and TypeMethodDescriptionAbstractConnectionInitiatorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AsyncRequester.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 TypeMethodDescriptionAbstractConnectionInitiatorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AsyncRequester.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.(package private)InternalAsyncClientEndpoint(PoolEntry<HttpHost, IOSession> poolEntry) -
Uses of IOSession in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSessionAbstractHttp1StreamDuplexer.CapacityWindow.ioSessionMethods in org.apache.hc.core5.http.impl.nio with parameters of type IOSessionModifier and TypeMethodDescriptionvoidvoidAbstractHttp1IOEventHandler.disconnected(IOSession session) voidvoidAbstractHttp1IOEventHandler.inputReady(IOSession session, ByteBuffer src) voidAbstractHttp1IOEventHandler.outputReady(IOSession session) voidConstructors in org.apache.hc.core5.http.impl.nio with parameters of type IOSession -
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 that return types with arguments of type IOSessionModifier and TypeMethodDescriptionShutdownCommand.createIOSessionCallback(Command.Priority priority) Methods 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 TypeMethodDescriptionvoidvoidvoidvoidvoidAbstractH2IOEventHandler.disconnected(IOSession session) voidHttpProtocolNegotiator.disconnected(IOSession session) voidPrefaceHandlerBase.disconnected(IOSession session) voidvoidvoidvoidAbstractH2IOEventHandler.inputReady(IOSession session, ByteBuffer src) voidClientH2PrefaceHandler.inputReady(IOSession session, ByteBuffer src) voidHttpProtocolNegotiator.inputReady(IOSession session, ByteBuffer src) voidServerH2PrefaceHandler.inputReady(IOSession session, ByteBuffer src) voidAbstractH2IOEventHandler.outputReady(IOSession session) voidClientH2PrefaceHandler.outputReady(IOSession session) voidHttpProtocolNegotiator.outputReady(IOSession session) voidServerH2PrefaceHandler.outputReady(IOSession session) voidvoidvoidprivate voidClientH2PrefaceHandler.writeOutPreface(IOSession session) -
Uses of IOSession in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap with type parameters of type IOSessionModifier and TypeFieldDescriptionH2MultiplexingRequesterBootstrap.ioSessionDecoratorH2RequesterBootstrap.ioSessionDecoratorH2ServerBootstrap.ioSessionDecoratorMethod 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.reactorClasses in org.apache.hc.core5.reactor that implement IOSessionModifier and TypeClassDescription(package private) final class(package private) classFields in org.apache.hc.core5.reactor declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSessionInternalDataChannel.ioSession(package private) IOSessionAbstractIOSessionPool.PoolEntry.sessionFields in org.apache.hc.core5.reactor with type parameters of type IOSessionModifier and TypeFieldDescriptionprivate final AtomicReference<IOSession> InternalDataChannel.currentSessionRef(package private) final BasicFuture<IOSession> IOSessionRequest.futureInternalDataChannel.ioSessionDecoratorSingleCoreIOReactor.ioSessionDecorator(package private) final Queue<FutureCallback<IOSession>> AbstractIOSessionPool.PoolEntry.requestQueueAbstractIOSessionPool.PoolEntry.sessionFutureSingleCoreIOReactor.sessionShutdownCallbackMethods in org.apache.hc.core5.reactor that return IOSessionMethods in org.apache.hc.core5.reactor that return types with arguments of type IOSessionModifier and TypeMethodDescriptionAbstractIOReactorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) ConnectionInitiator.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Requests a connection to a remote host.SingleCoreIOReactor.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) 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.voidvoidvoidIOEventHandler.disconnected(IOSession session) Triggered when the given session has been terminated.voidIOSessionListener.disconnected(IOSession session) voidSocksProxyProtocolHandler.disconnected(IOSession session) private IOEventHandlerInternalDataChannel.ensureHandler(IOSession session) voidTriggered when the given session throws a exception.voidvoidvoidIOEventHandler.inputReady(IOSession session, ByteBuffer src) Triggered when the given session has input pending.voidIOSessionListener.inputReady(IOSession session) voidSocksProxyProtocolHandler.inputReady(IOSession session, ByteBuffer src) voidIOEventHandler.outputReady(IOSession session) Triggered when the given session is ready for output.voidIOSessionListener.outputReady(IOSession session) voidSocksProxyProtocolHandler.outputReady(IOSession session) voidvoidTriggered when the given session has timed out.voidvoidprotected abstract voidAbstractIOSessionPool.validateSession(IOSession ioSession, Callback<Boolean> callback) Method parameters in org.apache.hc.core5.reactor with type arguments of type IOSessionModifier and TypeMethodDescriptionAbstractIOReactorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) ConnectionInitiator.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Requests a connection to a remote host.SingleCoreIOReactor.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AbstractIOSessionPool.connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) final voidAbstractIOSessionPool.enumAvailable(Callback<IOSession> callback) AbstractIOSessionPool.getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) private voidAbstractIOSessionPool.getSessionInternal(AbstractIOSessionPool.PoolEntry poolEntry, boolean requestNew, T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) Constructors in org.apache.hc.core5.reactor with parameters of type IOSessionModifierConstructorDescription(package private)InternalDataChannel(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Queue<InternalDataChannel> closedSessions) 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.(package private)InternalDataChannel(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Queue<InternalDataChannel> closedSessions) IOSessionRequest(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) (package private)SingleCoreIOReactor(Callback<Exception> exceptionCallback, IOEventHandlerFactory eventHandlerFactory, IOReactorConfig reactorConfig, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) -
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.Fields in org.apache.hc.core5.reactor.ssl declared as IOSessionMethods in org.apache.hc.core5.reactor.ssl with parameters of type IOSessionModifier and TypeMethodDescriptionvoidSSLIOSession.beginHandshake(IOSession protocolSession) private voidSSLIOSession.decryptData(IOSession protocolSession) private voidSSLIOSession.doHandshake(IOSession protocolSession) private voidSSLIOSession.encryptData(IOSession protocolSession) private voidSSLIOSession.initialize(IOSession protocolSession) Constructors 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 IOSessionFields in org.apache.hc.core5.testing.nio declared as IOSessionModifier and TypeFieldDescriptionprivate final IOSessionClientSessionEndpoint.ioSessionprivate final IOSessionLoggingIOSession.sessionMethods 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) (package private) DefaultConnectingIOReactorAsyncRequester.createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback) (package private) DefaultListeningIOReactorAsyncServer.createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback) (package private) abstract TIOReactorExecutor.createIOReactor(IOEventHandlerFactory ioEventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Callback<IOSession> sessionShutdownCallback) 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)