Uses of Interface
org.apache.hc.core5.reactor.IOSession
-
Packages that use IOSession 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.http.nio.command Commands for HTTP transports based on asynchronous, event driven 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.http2.nio.pool HTTP/2 specific pool component APIs.org.apache.hc.core5.reactor Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.org.apache.hc.core5.reactor.ssl TLS/SSL support for I/O reactors.org.apache.hc.core5.testing.nio -
-
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 IOSession Modifier and Type Field Description private ManagedConnPool<HttpHost,IOSession>
HttpAsyncRequester. connPool
private Decorator<IOSession>
AsyncRequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
AsyncServerBootstrap. ioSessionDecorator
(package private) java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,IOSession>>
HttpAsyncRequester.InternalAsyncClientEndpoint. poolEntryRef
Methods in org.apache.hc.core5.http.impl.bootstrap that return IOSession Modifier and Type Method Description private IOSession
HttpAsyncRequester.InternalAsyncClientEndpoint. getIOSession()
Methods in org.apache.hc.core5.http.impl.bootstrap that return types with arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AbstractConnectionInitiatorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AbstractConnectionInitiatorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
AsyncRequesterBootstrap
AsyncRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
AsyncServerBootstrap
AsyncServerBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
Constructor parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type IOSession 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)
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.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.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 IOSession Modifier and Type Field Description private IOSession
AbstractHttp1StreamDuplexer.CapacityWindow. ioSession
Methods in org.apache.hc.core5.http.impl.nio with parameters of type IOSession Modifier and Type Method Description void
AbstractHttp1IOEventHandler. connected(IOSession session)
void
AbstractHttp1IOEventHandler. disconnected(IOSession session)
void
AbstractHttp1IOEventHandler. exception(IOSession session, java.lang.Exception cause)
void
AbstractHttp1IOEventHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
void
AbstractHttp1IOEventHandler. outputReady(IOSession session)
void
AbstractHttp1IOEventHandler. timeout(IOSession session, Timeout timeout)
Constructors in org.apache.hc.core5.http.impl.nio with parameters of type IOSession Constructor Description CapacityWindow(int window, IOSession 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 IOSession Modifier and Type Field Description static Callback<IOSession>
ShutdownCommand. GRACEFUL_IMMEDIATE_CALLBACK
static Callback<IOSession>
ShutdownCommand. GRACEFUL_NORMAL_CALLBACK
Methods in org.apache.hc.core5.http.nio.command that return types with arguments of type IOSession Modifier and Type Method Description private static Callback<IOSession>
ShutdownCommand. createIOSessionCallback(Command.Priority priority)
Methods in org.apache.hc.core5.http.nio.command with parameters of type IOSession Modifier and Type Method Description static void
CommandSupport. cancelCommands(IOSession ioSession)
Cancels all pending sessionCommand
s.static void
CommandSupport. failCommands(IOSession ioSession, java.lang.Exception ex)
Fails all pending sessionCommand
s. -
Uses of IOSession in org.apache.hc.core5.http2.impl.nio
Methods in org.apache.hc.core5.http2.impl.nio with parameters of type IOSession Modifier and Type Method Description void
AbstractH2IOEventHandler. connected(IOSession session)
void
ClientH2PrefaceHandler. connected(IOSession session)
void
HttpProtocolNegotiator. connected(IOSession session)
void
ServerH2PrefaceHandler. connected(IOSession session)
void
AbstractH2IOEventHandler. disconnected(IOSession session)
void
HttpProtocolNegotiator. disconnected(IOSession session)
void
PrefaceHandlerBase. disconnected(IOSession session)
void
AbstractH2IOEventHandler. exception(IOSession session, java.lang.Exception cause)
void
HttpProtocolNegotiator. exception(IOSession session, java.lang.Exception cause)
void
PrefaceHandlerBase. exception(IOSession session, java.lang.Exception cause)
void
AbstractH2IOEventHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
void
ClientH2PrefaceHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
void
HttpProtocolNegotiator. inputReady(IOSession session, java.nio.ByteBuffer src)
void
ServerH2PrefaceHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
void
AbstractH2IOEventHandler. outputReady(IOSession session)
void
ClientH2PrefaceHandler. outputReady(IOSession session)
void
HttpProtocolNegotiator. outputReady(IOSession session)
void
ServerH2PrefaceHandler. outputReady(IOSession session)
void
AbstractH2IOEventHandler. timeout(IOSession session, Timeout timeout)
void
HttpProtocolNegotiator. timeout(IOSession session, Timeout timeout)
void
PrefaceHandlerBase. timeout(IOSession session, Timeout timeout)
private void
ClientH2PrefaceHandler. 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 IOSession Modifier and Type Field Description private Decorator<IOSession>
H2MultiplexingRequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
H2RequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
H2ServerBootstrap. ioSessionDecorator
Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type IOSession Modifier and Type Method Description H2MultiplexingRequesterBootstrap
H2MultiplexingRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
H2RequesterBootstrap
H2RequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
H2ServerBootstrap
H2ServerBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
Constructor parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type IOSession 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)
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.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 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 IOSession Modifier and Type Method Description protected java.util.concurrent.Future<IOSession>
H2ConnPool. connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
Methods in org.apache.hc.core5.http2.nio.pool with parameters of type IOSession Modifier and Type Method Description protected void
H2ConnPool. closeSession(IOSession ioSession, CloseMode closeMode)
protected void
H2ConnPool. validateSession(IOSession ioSession, Callback<java.lang.Boolean> callback)
Method parameters in org.apache.hc.core5.http2.nio.pool with type arguments of type IOSession Modifier and Type Method Description protected java.util.concurrent.Future<IOSession>
H2ConnPool. 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.reactor Modifier and Type Interface Description interface
ProtocolIOSession
TLS capable, protocol upgradableIOSession
.Classes in org.apache.hc.core5.reactor that implement IOSession Modifier and Type Class Description (package private) class
InternalDataChannel
(package private) class
IOSessionImpl
Fields in org.apache.hc.core5.reactor declared as IOSession Modifier and Type Field Description private IOSession
InternalDataChannel. ioSession
(package private) IOSession
AbstractIOSessionPool.PoolEntry. session
Fields in org.apache.hc.core5.reactor with type parameters of type IOSession Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<IOSession>
InternalDataChannel. currentSessionRef
(package private) BasicFuture<IOSession>
IOSessionRequest. future
private Decorator<IOSession>
InternalDataChannel. ioSessionDecorator
private Decorator<IOSession>
SingleCoreIOReactor. ioSessionDecorator
(package private) java.util.Queue<FutureCallback<IOSession>>
AbstractIOSessionPool.PoolEntry. requestQueue
(package private) java.util.concurrent.Future<IOSession>
AbstractIOSessionPool.PoolEntry. sessionFuture
private Callback<IOSession>
SingleCoreIOReactor. sessionShutdownCallback
Methods in org.apache.hc.core5.reactor that return IOSession Modifier and Type Method Description IOSession
IOSessionRequest. get()
IOSession
IOSessionRequest. get(long timeout, java.util.concurrent.TimeUnit unit)
Methods in org.apache.hc.core5.reactor that return types with arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AbstractIOReactorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
ConnectionInitiator. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
Requests a connection to a remote host.java.util.concurrent.Future<IOSession>
SingleCoreIOReactor. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
protected abstract java.util.concurrent.Future<IOSession>
AbstractIOSessionPool. connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
AbstractIOSessionPool. getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
Methods in org.apache.hc.core5.reactor with parameters of type IOSession Modifier and Type Method Description protected abstract void
AbstractIOSessionPool. closeSession(IOSession ioSession, CloseMode closeMode)
void
IOEventHandler. connected(IOSession session)
Triggered after the given session has been just created.void
IOSessionListener. connected(IOSession session)
void
SocksProxyProtocolHandler. connected(IOSession session)
void
IOEventHandler. disconnected(IOSession session)
Triggered when the given session has been terminated.void
IOSessionListener. disconnected(IOSession session)
void
SocksProxyProtocolHandler. disconnected(IOSession session)
private IOEventHandler
InternalDataChannel. ensureHandler(IOSession session)
void
IOEventHandler. exception(IOSession session, java.lang.Exception cause)
Triggered when the given session throws a exception.void
IOSessionListener. exception(IOSession session, java.lang.Exception ex)
void
SocksProxyProtocolHandler. exception(IOSession session, java.lang.Exception cause)
void
IOEventHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
Triggered when the given session has input pending.void
IOSessionListener. inputReady(IOSession session)
void
SocksProxyProtocolHandler. inputReady(IOSession session, java.nio.ByteBuffer src)
void
IOEventHandler. outputReady(IOSession session)
Triggered when the given session is ready for output.void
IOSessionListener. outputReady(IOSession session)
void
SocksProxyProtocolHandler. outputReady(IOSession session)
void
IOSessionListener. startTls(IOSession session)
void
IOEventHandler. timeout(IOSession session, Timeout timeout)
Triggered when the given session has timed out.void
IOSessionListener. timeout(IOSession session)
void
SocksProxyProtocolHandler. timeout(IOSession session, Timeout timeout)
protected abstract void
AbstractIOSessionPool. validateSession(IOSession ioSession, Callback<java.lang.Boolean> callback)
Method parameters in org.apache.hc.core5.reactor with type arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AbstractIOReactorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
ConnectionInitiator. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
Requests a connection to a remote host.java.util.concurrent.Future<IOSession>
SingleCoreIOReactor. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
protected abstract java.util.concurrent.Future<IOSession>
AbstractIOSessionPool. connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
void
AbstractIOSessionPool. enumAvailable(Callback<IOSession> callback)
java.util.concurrent.Future<IOSession>
AbstractIOSessionPool. getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
private void
AbstractIOSessionPool. getSessionInternal(AbstractIOSessionPool.PoolEntry poolEntry, boolean requestNew, T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
Constructors in org.apache.hc.core5.reactor with parameters of type IOSession Constructor Description InternalDataChannel(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, java.util.Queue<InternalDataChannel> closedSessions)
Constructor parameters in org.apache.hc.core5.reactor with type arguments of type IOSession Constructor Description 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, 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.InternalDataChannel(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, java.util.Queue<InternalDataChannel> closedSessions)
IOSessionRequest(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
SingleCoreIOReactor(Callback<java.lang.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 IOSession Modifier and Type Class Description class
SSLIOSession
SSLIOSession
is a decorator class intended to transparently extend anIOSession
with transport layer security capabilities based on the SSL/TLS protocol.Fields in org.apache.hc.core5.reactor.ssl declared as IOSession Modifier and Type Field Description private IOSession
SSLIOSession. session
Methods in org.apache.hc.core5.reactor.ssl with parameters of type IOSession Modifier and Type Method Description void
SSLIOSession. beginHandshake(IOSession protocolSession)
private void
SSLIOSession. decryptData(IOSession protocolSession)
private void
SSLIOSession. doHandshake(IOSession protocolSession)
private void
SSLIOSession. encryptData(IOSession protocolSession)
private void
SSLIOSession. initialize(IOSession protocolSession)
Constructors in org.apache.hc.core5.reactor.ssl with parameters of type IOSession Constructor Description SSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, javax.net.ssl.SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, Timeout connectTimeout)
Creates new instance ofSSLIOSession
class.SSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, javax.net.ssl.SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, FutureCallback<javax.net.ssl.SSLSession> resultCallback)
Creates new instance ofSSLIOSession
class. -
Uses of IOSession in org.apache.hc.core5.testing.nio
Classes in org.apache.hc.core5.testing.nio that implement IOSession Modifier and Type Class Description class
LoggingIOSession
Fields in org.apache.hc.core5.testing.nio declared as IOSession Modifier and Type Field Description private IOSession
ClientSessionEndpoint. ioSession
private IOSession
LoggingIOSession. session
Methods in org.apache.hc.core5.testing.nio that return IOSession Modifier and Type Method Description IOSession
LoggingIOSessionDecorator. decorate(IOSession ioSession)
Methods in org.apache.hc.core5.testing.nio that return types with arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AsyncRequester. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback)
Methods in org.apache.hc.core5.testing.nio with parameters of type IOSession Modifier and Type Method Description void
LoggingIOSessionListener. connected(IOSession session)
IOSession
LoggingIOSessionDecorator. decorate(IOSession ioSession)
void
LoggingIOSessionListener. disconnected(IOSession session)
void
LoggingIOSessionListener. exception(IOSession session, java.lang.Exception ex)
void
LoggingIOSessionListener. inputReady(IOSession session)
void
LoggingIOSessionListener. outputReady(IOSession session)
void
LoggingIOSessionListener. startTls(IOSession session)
void
LoggingIOSessionListener. timeout(IOSession session)
Method parameters in org.apache.hc.core5.testing.nio with type arguments of type IOSession Modifier and Type Method Description java.util.concurrent.Future<IOSession>
AsyncRequester. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
(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)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback)
Constructors in org.apache.hc.core5.testing.nio with parameters of type IOSession Constructor Description ClientSessionEndpoint(IOSession ioSession)
LoggingIOSession(IOSession session, org.slf4j.Logger log, org.slf4j.Logger wireLog)
-