Top Description Interfaces Classes
module org.eclipse.jetty.io

Package org.eclipse.jetty.io


Jetty IO : Core classes for Jetty IO subsystem

Interface Summary

Modifier and TypeInterface and Description
public interface
ByteBufferPool

A pool for RetainableByteBuffer instances.

public interface
ClientConnectionFactory

Factory for client-side Connection instances.

public interface
Connection

A Connection is associated to an EndPoint so that I/O events happening on the EndPoint can be processed by the Connection.

public interface
EndPoint

EndPoint is the abstraction for an I/O channel that transports bytes.

public interface
NetworkTrafficListener

A listener for raw network traffic within Jetty.

public interface
QuietException

A Quiet Exception.

public interface
Retainable

A reference counted resource, for example one that is borrowed from a pool, that may be retained an additional number of times, and released a correspondent number of times, over its lifecycle.

public interface
RetainableByteBuffer

A pooled ByteBuffer which maintains a reference count that is incremented with retain() and decremented with release().

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractConnection

A convenience base implementation of Connection.

public abstract class
AbstractEndPoint

Partial implementation of EndPoint that uses FillInterest and WriteFlusher.

public abstract class
AbstractRetainableByteBuffer

Abstract implementation of RetainableByteBuffer with reference counting.

public class
ArrayByteBufferPool

A RetainableByteBuffer pool where RetainableByteBuffers are held in Pools that are held in array elements.

public class
ByteArrayEndPoint

ByteArrayEndPoint.

public class
ByteBufferAccumulator

Accumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream.

public class
ByteBufferAggregator

Aggregates data into a single ByteBuffer of a specified maximum size.

public class
ByteBufferCallbackAccumulator

This class can be used to accumulate pairs of ByteBuffer and Callback, and eventually copy these into a single ByteBuffer or byte array and succeed the callbacks.

public class
ByteBufferInputStream

Present a ByteBuffer as an InputStream.

public class
ByteBufferOutputStream

Simple wrapper of a ByteBuffer as an OutputStream.

public class
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 supplied ByteBufferPool or freshly allocated if one is not supplied.

public class
ChunkAccumulator

An accumulator of Content.Chunks used to facilitate minimal copy aggregation of multiple chunks.

public class
ClientConnector

The client-side component that connects to server sockets.

public class
ConnectionStatistics

A Connection.Listener that tracks connection statistics.

public class
Content

Namespace class that contains the definitions of a content source, a content sink and a content chunk.

public abstract class
CyclicTimeout

An abstract implementation of a timeout.

public abstract class
CyclicTimeouts<
the Expirable entity type
T extends CyclicTimeouts.Expirable
>

An implementation of a timeout that manages many expirable entities whose timeouts are mostly cancelled or re-scheduled.

public class
public class
EofException

A Jetty specialization of EOFException.

public abstract class
FillInterest

A Utility class to help implement EndPoint#fillInterested(Callback) by keeping state and calling the context and callback objects.

public abstract class
IdleTimeout

An Abstract implementation of an Idle Timeout.

public class
public class
ManagedSelector

ManagedSelector wraps a Selector simplifying non-blocking operations on channels.

public abstract class
public abstract class
public class
public class
RuntimeIOException

Subclass of java.lang.RuntimeException used to signal that there was an java.io.IOException thrown by underlying java.io.Writer

public abstract class
SelectableChannelEndPoint

A partial EndPoint implementation based on SelectableChannel.

public abstract class
SelectorManager

SelectorManager manages a number of ManagedSelectors that simplify the non-blocking primitives provided by the JVM via the java.nio package.

public class
SocketChannelEndPoint

An EndPoint implementation based on SocketChannel.

public abstract class
WriteFlusher

A Utility class to help implement EndPoint#write(Callback, ByteBuffer...) by calling EndPoint#flush(ByteBuffer...) until all content is written.

public class
WriterOutputStream

Wrap a Writer as an OutputStream.

public abstract class
WriteThroughWriter

An alternate to java.io.OutputStreamWriter that supports several optimized implementation for well known Charsets, specifically StandardCharsets#UTF_8 and StandardCharsets#ISO_8859_1.