Jetty IO : Core classes for Jetty IO subsystem
Interface Summary Interface Description ByteBufferPoolA
ClientConnectionFactoryFactory for client-side
ClientConnectionFactory.DecoratorWraps another ClientConnectionFactory. Connection Connection.ListenerA Listener for connection events. Connection.UpgradeFrom
Connectionimplementations implement this interface when they can upgrade from the protocol they speak (for example HTTP/1.1) to a different protocol (e.g.
Connectionimplementations implement this interface when they can be upgraded to the protocol they speak (e.g.
CyclicTimeouts.ExpirableAn entity that may expire. EndPointEndPoint is the abstraction for an I/O channel that transports bytes. EndPoint.WrapperMarks an
EndPointthat wraps another
ManagedSelector.Selectable ManagedSelector.SelectorUpdateA selector update to be done when the selector has been woken. NetworkTrafficListenerA listener for raw network traffic within Jetty. QuietExceptionA Quiet Exception. RetainableByteBufferPoolA
SelectorManager.AcceptListenerA listener for accept events. SelectorManager.SelectorManagerListener WriteFlusher.ListenerA listener of
Class Summary Class Description AbstractConnectionA convenience base implementation of
AbstractEndPoint ArrayByteBufferPoolA ByteBuffer pool where ByteBuffers are held in queues that are held in array elements. ArrayRetainableByteBufferPool ByteArrayEndPointByteArrayEndPoint. ByteBufferAccumulatorAccumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream. ByteBufferCallbackAccumulatorThis class can be used to accumulate pairs of
Callback, and eventually copy these into a single
ByteBufferor byte array and succeed the callbacks.
ByteBufferOutputStreamSimple wrapper of a ByteBuffer as an OutputStream. ByteBufferOutputStream2This class implements an output stream in which the data is written into a list of ByteBuffer, the buffer list automatically grows as data is written to it, the buffers are taken from the supplied
ByteBufferPoolor freshly allocated if one is not supplied.
ByteBufferPool.Bucket ByteBufferPool.Lease ClientConnectionFactory.InfoA holder for a list of protocol strings identifying an application protocol (for example
["h2", "h2-17", "h2-16"]) and a
ClientConnectionFactorythat creates connections that speak that network protocol.
ClientConnectorThe client-side component that connects to server sockets. Connection.Listener.Adapter ConnectionStatisticsA
Connection.Listenerthat tracks connection statistics.
ConnectionStatistics.Stats CyclicTimeoutAn abstract implementation of a timeout. CyclicTimeouts<T extends CyclicTimeouts.Expirable>An implementation of a timeout that manages many
expirableentities whose timeouts are mostly cancelled or re-scheduled.
FillInterestA Utility class to help implement
EndPoint.fillInterested(Callback)by keeping state and calling the context and callback objects.
IdleTimeoutAn Abstract implementation of an Idle Timeout. IncludeExcludeConnectionStatistics IncludeExcludeConnectionStatistics.ConnectionSet LeakTrackingByteBufferPool ManagedSelector
Selectorsimplifying non-blocking operations on channels.
MappedByteBufferPoolA ByteBuffer pool where ByteBuffers are held in queues that are held in a Map. MappedByteBufferPool.Tagged NegotiatingClientConnection NegotiatingClientConnectionFactory NetworkTrafficSocketChannelEndPoint NullByteBufferPool RetainableByteBuffer SelectorManager SocketChannelEndPointChannel End Point. WriteFlusher WriterOutputStreamWrap a Writer as an OutputStream.
Exception Summary Exception Description EofExceptionA Jetty specialization of EOFException. RuntimeIOExceptionSubclass of
RuntimeExceptionused to signal that there was an
IOExceptionthrown by underlying