Package org.apache.hc.core5.reactor
package org.apache.hc.core5.reactor
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
-
ClassDescriptionAbstract command
IOSession
can act upon.Non-blocking connection acceptor.Non-blocking connection initiator.Multi-core I/O reactor that can act asConnectionInitiator
Internally this I/O reactor distributes newly created I/O session equally across multiple I/O worker threads for a more optimal resource utilization and a better I/O performance.Multi-core I/O reactor that can act as bothConnectionInitiator
andConnectionAcceptor
.Endpoint initialization parametersType of I/O event notifications I/O sessions can declare interest in.IOEventHandler interface is used by I/O reactors to handle I/O events for individual I/O sessions.Factory interface to createIOEventHandler
instances for the given connected endpoints.HttpCore NIO is based on the Reactor pattern as described by Doug Lea.I/O reactor configuration parameters.IOReactor
running as a service.Signals the I/O reactor has been shut down or is in the process of shutting down.IOReactorStatus represents an internal status of an I/O reactor.IOSession interface represents a sequence of logically related data exchanges between two end points.This enum represents a set of states I/O session transitions through during its life-span.IOSession
event listener.ListenerEndpoint interface represents an endpoint used by an I/O reactor to listen for incoming connection from remote clients.TLS capable, protocol upgradableIOSession
.Application protocol upgrade handler.Implements the client side of SOCKS protocol version 5 as per https://tools.ietf.org/html/rfc1928.Deprecated.
IOReactorConfig
.