Package org.eclipse.jetty.io
Jetty IO : Core classes for Jetty IO subsystem
-
Interface Summary Interface Description ByteBufferPool AByteBuffer
pool.ClientConnectionFactory Factory for client-sideConnection
instances.ClientConnectionFactory.Decorator Wraps another ClientConnectionFactory.Connection AConnection
is associated to anEndPoint
so that I/O events happening on theEndPoint
can be processed by theConnection
.Connection.Listener A Listener for connection events.Connection.UpgradeFrom Connection
implementations implement this interface when they can upgrade from the protocol they speak (for example HTTP/1.1) to a different protocol (e.g.Connection.UpgradeTo Connection
implementations implement this interface when they can be upgraded to the protocol they speak (e.g.CyclicTimeouts.Expirable An entity that may expire.EndPoint EndPoint is the abstraction for an I/O channel that transports bytes.ManagedSelector.Selectable AManagedSelector.Selectable
is anEndPoint
that wish to be notified of non-blocking events by theManagedSelector
.ManagedSelector.SelectorUpdate A selector update to be done when the selector has been woken.NetworkTrafficListener A listener for raw network traffic within Jetty.QuietException A Quiet Exception.SelectorManager.AcceptListener A listener for accept events.WriteFlusher.Listener A listener ofWriteFlusher
events. -
Class Summary Class Description AbstractConnection A convenience base implementation ofConnection
.AbstractEndPoint ArrayByteBufferPool A ByteBuffer pool where ByteBuffers are held in queues that are held in array elements.ByteArrayEndPoint ByteArrayEndPoint.ByteBufferAccumulator Accumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream.ByteBufferOutputStream Simple wrapper of a ByteBuffer as an OutputStream.ByteBufferOutputStream2 This 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 suppliedByteBufferPool
or freshly allocated if one is not supplied.ByteBufferPool.Bucket ByteBufferPool.Lease ChannelEndPoint Channel End Point.Connection.Listener.Adapter ConnectionStatistics AConnection.Listener
that tracks connection statistics.ConnectionStatistics.Stats CyclicTimeout An abstract implementation of a timeout.CyclicTimeouts<T extends CyclicTimeouts.Expirable> An implementation of a timeout that manages manyexpirable
entities whose timeouts are mostly cancelled or re-scheduled.FillInterest A Utility class to help implementEndPoint.fillInterested(Callback)
by keeping state and calling the context and callback objects.IdleTimeout An Abstract implementation of an Idle Timeout.IncludeExcludeConnectionStatistics IncludeExcludeConnectionStatistics.ConnectionSet LeakTrackingByteBufferPool LogarithmicArrayByteBufferPool Extension of theArrayByteBufferPool
whose bucket sizes increase exponentially instead of linearly.ManagedSelector ManagedSelector
wraps aSelector
simplifying non-blocking operations on channels.MappedByteBufferPool A ByteBuffer pool where ByteBuffers are held in queues that are held in a Map.MappedByteBufferPool.Tagged NegotiatingClientConnection NegotiatingClientConnectionFactory NetworkTrafficListener.Adapter Deprecated. useNetworkTrafficListener
insteadNetworkTrafficSelectChannelEndPoint Deprecated. useNetworkTrafficSocketChannelEndPoint
insteadNetworkTrafficSocketChannelEndPoint A specialized version ofSocketChannelEndPoint
that supportsNetworkTrafficListener
s.NullByteBufferPool RetainableByteBuffer A Retainable ByteBuffer.SelectChannelEndPoint Deprecated. useSocketChannelEndPoint
insteadSelectorManager SelectorManager
manages a number ofManagedSelector
s that simplify the non-blocking primitives provided by the JVM via thejava.nio
package.SocketChannelEndPoint WriteFlusher A Utility class to help implementEndPoint.write(Callback, ByteBuffer...)
by callingEndPoint.flush(ByteBuffer...)
until all content is written.WriterOutputStream Wrap a Writer as an OutputStream. -
Exception Summary Exception Description EofException A Jetty specialization of EOFException.RuntimeIOException Subclass ofRuntimeException
used to signal that there was anIOException
thrown by underlyingWriter