Jetty IO : Core classes for Jetty IO subsystem
Interface Summary Interface Description ByteBufferPoolA
ClientConnectionFactoryFactory for client-side
ClientConnectionFactory.DecoratorWraps another ClientConnectionFactory. ConnectionA
Connectionis associated to an
EndPointso that I/O events happening on the
EndPointcan be processed by the
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. ManagedSelector.SelectableA
EndPointthat wish to be notified of non-blocking events by the
ManagedSelector.SelectorUpdateA selector update to be done when the selector has been woken. NetworkTrafficListenerA listener for raw network traffic within Jetty. QuietExceptionA Quiet Exception. SelectorManager.AcceptListenerA listener for accept events. 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. ByteArrayEndPointByteArrayEndPoint. ByteBufferAccumulatorAccumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream. 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 ChannelEndPointChannel End Point. 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 LogarithmicArrayByteBufferPoolExtension of the
ArrayByteBufferPoolwhose bucket sizes increase exponentially instead of linearly.
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 NetworkTrafficListener.Adapter Deprecated.use
NetworkTrafficSocketChannelEndPointA specialized version of
NullByteBufferPool RetainableByteBufferA Retainable ByteBuffer. SelectChannelEndPoint Deprecated.use
SelectorManagermanages a number of
ManagedSelectors that simplify the non-blocking primitives provided by the JVM via the
SocketChannelEndPoint WriteFlusherA Utility class to help implement
EndPoint.write(Callback, ByteBuffer...)by calling
EndPoint.flush(ByteBuffer...)until all content is written.
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