A B C D E F G H I L M N O Q R S T U W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConnection - Class in org.eclipse.jetty.io
-
A convenience base implementation of
Connection
. - AbstractConnection(EndPoint, Executor) - Constructor for class org.eclipse.jetty.io.AbstractConnection
- AbstractEndPoint - Class in org.eclipse.jetty.io
- AbstractEndPoint(Scheduler) - Constructor for class org.eclipse.jetty.io.AbstractEndPoint
- accept(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- accept(SelectableChannel, Object) - Method in class org.eclipse.jetty.io.SelectorManager
-
Registers a channel to perform non-blocking read/write operations.
- accepted(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method when a channel is accepted from the
ServerSocketChannel
passed toSelectorManager.acceptor(SelectableChannel)
. - acceptor(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
-
Registers a server channel for accept operations.
- acquire() - Method in class org.eclipse.jetty.io.ByteBufferPool.Bucket
- acquire(boolean) - Method in class org.eclipse.jetty.io.ByteBufferPool.Bucket
-
Deprecated.use
ByteBufferPool.Bucket.acquire()
instead - acquire(int, boolean) - Method in class org.eclipse.jetty.io.ArrayByteBufferPool
- acquire(int, boolean) - Method in interface org.eclipse.jetty.io.ByteBufferPool
-
Requests a
ByteBuffer
of the given size. - acquire(int, boolean) - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- acquire(int, boolean) - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- acquire(int, boolean) - Method in class org.eclipse.jetty.io.MappedByteBufferPool
- acquire(int, boolean) - Method in class org.eclipse.jetty.io.NullByteBufferPool
- Adapter() - Constructor for class org.eclipse.jetty.io.Connection.Listener.Adapter
- Adapter() - Constructor for class org.eclipse.jetty.io.NetworkTrafficListener.Adapter
-
Deprecated.
- add(Class<? extends Connection>) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- addAcceptListener(SelectorManager.AcceptListener) - Method in class org.eclipse.jetty.io.SelectorManager
- addEventListener(EventListener) - Method in class org.eclipse.jetty.io.SelectorManager
- addHandshakeListener(SslHandshakeListener) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- addInput(String) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- addInput(String, Charset) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- addInput(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- addInputAndExecute(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- addInputEOF() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- addListener(Connection.Listener) - Method in class org.eclipse.jetty.io.AbstractConnection
- addListener(Connection.Listener) - Method in interface org.eclipse.jetty.io.Connection
-
Adds a listener of connection events.
- ALPNProcessor - Interface in org.eclipse.jetty.io.ssl
- ALPNProcessor.Client - Interface in org.eclipse.jetty.io.ssl
-
Client-side interface used by ServiceLoader.
- ALPNProcessor.Server - Interface in org.eclipse.jetty.io.ssl
-
Server-side interface used by ServiceLoader.
- append(ByteBuffer, boolean) - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- appliesTo(SSLEngine) - Method in interface org.eclipse.jetty.io.ssl.ALPNProcessor
-
Tests if this processor can be applied to the given SSLEngine.
- apply(ClientConnectionFactory) - Method in interface org.eclipse.jetty.io.ClientConnectionFactory.Decorator
-
Wraps the given
factory
. - ArrayByteBufferPool - Class in org.eclipse.jetty.io
-
A ByteBuffer pool where ByteBuffers are held in queues that are held in array elements.
- ArrayByteBufferPool() - Constructor for class org.eclipse.jetty.io.ArrayByteBufferPool
-
Creates a new ArrayByteBufferPool with a default configuration.
- ArrayByteBufferPool(int, int, int) - Constructor for class org.eclipse.jetty.io.ArrayByteBufferPool
-
Creates a new ArrayByteBufferPool with the given configuration.
- ArrayByteBufferPool(int, int, int, int) - Constructor for class org.eclipse.jetty.io.ArrayByteBufferPool
-
Creates a new ArrayByteBufferPool with the given configuration.
- ArrayByteBufferPool(int, int, int, int, long, long) - Constructor for class org.eclipse.jetty.io.ArrayByteBufferPool
-
Creates a new ArrayByteBufferPool with the given configuration.
B
- Bucket(ByteBufferPool, int, int) - Constructor for class org.eclipse.jetty.io.ByteBufferPool.Bucket
- ByteArrayEndPoint - Class in org.eclipse.jetty.io
-
ByteArrayEndPoint.
- ByteArrayEndPoint() - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(byte[], int) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(String, int) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(Scheduler, long) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(Scheduler, long, byte[], int) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(Scheduler, long, String, int) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteArrayEndPoint(Scheduler, long, ByteBuffer, ByteBuffer) - Constructor for class org.eclipse.jetty.io.ByteArrayEndPoint
- ByteBufferAccumulator - Class in org.eclipse.jetty.io
-
Accumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream.
- ByteBufferAccumulator() - Constructor for class org.eclipse.jetty.io.ByteBufferAccumulator
- ByteBufferAccumulator(ByteBufferPool, boolean) - Constructor for class org.eclipse.jetty.io.ByteBufferAccumulator
- ByteBufferOutputStream - Class in org.eclipse.jetty.io
-
Simple wrapper of a ByteBuffer as an OutputStream.
- ByteBufferOutputStream(ByteBuffer) - Constructor for class org.eclipse.jetty.io.ByteBufferOutputStream
- ByteBufferOutputStream2 - Class in org.eclipse.jetty.io
-
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. - ByteBufferOutputStream2() - Constructor for class org.eclipse.jetty.io.ByteBufferOutputStream2
- ByteBufferOutputStream2(ByteBufferPool, boolean) - Constructor for class org.eclipse.jetty.io.ByteBufferOutputStream2
- ByteBufferPool - Interface in org.eclipse.jetty.io
-
A
ByteBuffer
pool. - ByteBufferPool.Bucket - Class in org.eclipse.jetty.io
- ByteBufferPool.Lease - Class in org.eclipse.jetty.io
C
- cancel() - Method in class org.eclipse.jetty.io.CyclicTimeout
-
Cancels this CyclicTimeout so that it won't expire.
- ChannelEndPoint - Class in org.eclipse.jetty.io
-
Channel End Point.
- ChannelEndPoint(SocketChannel, ManagedSelector, SelectionKey, Scheduler) - Constructor for class org.eclipse.jetty.io.ChannelEndPoint
- checkFill() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- checkFlush() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- checkIdleTimeout() - Method in class org.eclipse.jetty.io.IdleTimeout
- clear() - Method in class org.eclipse.jetty.io.ArrayByteBufferPool
- clear() - Method in class org.eclipse.jetty.io.ByteBufferPool.Bucket
- clear() - Method in class org.eclipse.jetty.io.MappedByteBufferPool
- clear() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- clearTracking() - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
-
Clears the tracking data returned by
LeakTrackingByteBufferPool.getLeakedAcquires()
,LeakTrackingByteBufferPool.getLeakedReleases()
,LeakTrackingByteBufferPool.getLeakedResources()
. - ClientConnectionFactory - Interface in org.eclipse.jetty.io
-
Factory for client-side
Connection
instances. - ClientConnectionFactory.Decorator - Interface in org.eclipse.jetty.io
-
Wraps another ClientConnectionFactory.
- close() - Method in class org.eclipse.jetty.io.AbstractConnection
- close() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- close() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- close() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream
- close() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- close() - Method in interface org.eclipse.jetty.io.Connection
-
Performs a logical close of this connection.
- close() - Method in interface org.eclipse.jetty.io.EndPoint
-
Close any backing stream associated with the endpoint
- close() - Method in class org.eclipse.jetty.io.NegotiatingClientConnection
- close() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- close() - Method in class org.eclipse.jetty.io.WriterOutputStream
- close(Throwable) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- closed(Socket) - Method in class org.eclipse.jetty.io.NetworkTrafficListener.Adapter
-
Deprecated.
- closed(Socket) - Method in interface org.eclipse.jetty.io.NetworkTrafficListener
-
Callback method invoked when a connection to a remote client has been closed.
- completed() - Method in class org.eclipse.jetty.io.NegotiatingClientConnection
- completeWrite() - Method in class org.eclipse.jetty.io.WriteFlusher
-
Complete a write that has not completed and that called
WriteFlusher.onIncompleteFlush()
to request a call to this method when a call toEndPoint.flush(ByteBuffer...)
is likely to be able to progress. - configure(SSLEngine, Connection) - Method in interface org.eclipse.jetty.io.ssl.ALPNProcessor
-
Configures the given SSLEngine and the given Connection for ALPN.
- connect(SelectableChannel, Object) - Method in class org.eclipse.jetty.io.SelectorManager
-
Registers a channel to perform a non-blocking connect.
- Connection - Interface in org.eclipse.jetty.io
-
A
Connection
is associated to anEndPoint
so that I/O events happening on theEndPoint
can be processed by theConnection
. - Connection.Listener - Interface in org.eclipse.jetty.io
-
A Listener for connection events.
- Connection.Listener.Adapter - Class in org.eclipse.jetty.io
- Connection.UpgradeFrom - Interface in org.eclipse.jetty.io
-
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 - Interface in org.eclipse.jetty.io
-
Connection
implementations implement this interface when they can be upgraded to the protocol they speak (e.g. - connectionClosed(Connection) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method invoked when a connection is closed.
- connectionFailed(SelectableChannel, Throwable, Object) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method invoked when a non-blocking connect cannot be completed.
- connectionOpened(Connection) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method invoked when a connection is opened.
- ConnectionSet() - Constructor for class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- ConnectionStatistics - Class in org.eclipse.jetty.io
-
A
Connection.Listener
that tracks connection statistics. - ConnectionStatistics() - Constructor for class org.eclipse.jetty.io.ConnectionStatistics
- ConnectionStatistics.Stats - Class in org.eclipse.jetty.io
- ConnectionStatisticsMBean - Class in org.eclipse.jetty.io.jmx
- ConnectionStatisticsMBean(Object) - Constructor for class org.eclipse.jetty.io.jmx.ConnectionStatisticsMBean
- CONNECTOR_CONTEXT_KEY - Static variable in interface org.eclipse.jetty.io.ClientConnectionFactory
- copyBuffer(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- copyBytes(byte[], int, int) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- customize(Connection, Map<String, Object>) - Method in interface org.eclipse.jetty.io.ClientConnectionFactory
- customize(Connection, Map<String, Object>) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- CyclicTimeout - Class in org.eclipse.jetty.io
-
An abstract implementation of a timeout.
- CyclicTimeout(Scheduler) - Constructor for class org.eclipse.jetty.io.CyclicTimeout
- CyclicTimeouts<T extends CyclicTimeouts.Expirable> - Class in org.eclipse.jetty.io
-
An implementation of a timeout that manages many
expirable
entities whose timeouts are mostly cancelled or re-scheduled. - CyclicTimeouts(Scheduler) - Constructor for class org.eclipse.jetty.io.CyclicTimeouts
- CyclicTimeouts.Expirable - Interface in org.eclipse.jetty.io
-
An entity that may expire.
D
- decrementCount() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- DecryptedEndPoint() - Constructor for class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- DEFAULT_CONNECT_TIMEOUT - Static variable in class org.eclipse.jetty.io.SelectorManager
- destroy() - Method in class org.eclipse.jetty.io.CyclicTimeout
-
Destroys this CyclicTimeout.
- destroy() - Method in class org.eclipse.jetty.io.CyclicTimeouts
- doAccept(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- doClose() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- doClose() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- doClose() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- doClose() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- doFinishConnect(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- doShutdownInput() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- doShutdownOutput() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- doShutdownOutput() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- doShutdownOutput() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- doShutdownOutput() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- doStart() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- doStart() - Method in class org.eclipse.jetty.io.ManagedSelector
- doStart() - Method in class org.eclipse.jetty.io.SelectorManager
- doStop() - Method in class org.eclipse.jetty.io.ManagedSelector
- doStop() - Method in class org.eclipse.jetty.io.SelectorManager
- dump(Appendable, String) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- dump(Appendable, String) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- dump(Appendable, String) - Method in class org.eclipse.jetty.io.ManagedSelector
E
- EndPoint - Interface in org.eclipse.jetty.io
-
EndPoint is the abstraction for an I/O channel that transports bytes.
- endPointClosed(EndPoint) - Method in class org.eclipse.jetty.io.ManagedSelector
- endPointClosed(EndPoint) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method invoked when an endpoint is closed.
- endPointOpened(EndPoint) - Method in class org.eclipse.jetty.io.ManagedSelector
- endPointOpened(EndPoint) - Method in class org.eclipse.jetty.io.SelectorManager
-
Callback method invoked when an endpoint is opened.
- ensureBuffer(int) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
-
Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.
- ensureBuffer(int, int) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
-
Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.
- EofException - Exception in org.eclipse.jetty.io
-
A Jetty specialization of EOFException.
- EofException() - Constructor for exception org.eclipse.jetty.io.EofException
- EofException(String) - Constructor for exception org.eclipse.jetty.io.EofException
- EofException(Throwable) - Constructor for exception org.eclipse.jetty.io.EofException
- Event(Object) - Constructor for class org.eclipse.jetty.io.ssl.SslHandshakeListener.Event
- exclude(Class<? extends Connection>) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- exclude(String) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- execute(Runnable) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- execute(Runnable) - Method in class org.eclipse.jetty.io.SelectorManager
-
Executes the given task in a different thread.
F
- failedCallback(Callback, Throwable) - Method in class org.eclipse.jetty.io.AbstractConnection
- fill(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- fill(ByteBuffer) - Method in class org.eclipse.jetty.io.ChannelEndPoint
- fill(ByteBuffer) - Method in interface org.eclipse.jetty.io.EndPoint
-
Fill the passed buffer with data from this endpoint.
- fill(ByteBuffer) - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- fill(ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- fillable() - Method in class org.eclipse.jetty.io.FillInterest
-
Call to signal that a read is now possible.
- FillInterest - Class in org.eclipse.jetty.io
-
A Utility class to help implement
EndPoint.fillInterested(Callback)
by keeping state and calling the context and callback objects. - FillInterest() - Constructor for class org.eclipse.jetty.io.FillInterest
- fillInterested() - Method in class org.eclipse.jetty.io.AbstractConnection
-
Utility method to be called to register read interest.
- fillInterested(Callback) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- fillInterested(Callback) - Method in interface org.eclipse.jetty.io.EndPoint
-
Requests callback methods to be invoked when a call to
EndPoint.fill(ByteBuffer)
would return data or EOF. - flush() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream
- flush() - Method in class org.eclipse.jetty.io.WriterOutputStream
- flush(ByteBuffer...) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- flush(ByteBuffer...) - Method in class org.eclipse.jetty.io.ChannelEndPoint
- flush(ByteBuffer...) - Method in interface org.eclipse.jetty.io.EndPoint
-
Flush data from the passed header/buffer to this endpoint.
- flush(ByteBuffer...) - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- flush(ByteBuffer...) - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- flush(ByteBuffer[]) - Method in class org.eclipse.jetty.io.WriteFlusher
-
Flushes the buffers iteratively until no progress is made.
G
- getAverageSelectedKeys() - Method in class org.eclipse.jetty.io.ManagedSelector
- getBuffer() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- getByteBufferPool() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- getByteBufferPool() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- getByteBuffers() - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- getBytesIn() - Method in class org.eclipse.jetty.io.AbstractConnection
- getBytesIn() - Method in interface org.eclipse.jetty.io.Connection
- getBytesIn() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- getBytesOut() - Method in class org.eclipse.jetty.io.AbstractConnection
- getBytesOut() - Method in interface org.eclipse.jetty.io.Connection
- getBytesOut() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- getCallbackInvocationType() - Method in class org.eclipse.jetty.io.FillInterest
- getCallbackInvocationType() - Method in class org.eclipse.jetty.io.WriteFlusher
- getChannel() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- getClientConnectionFactory() - Method in class org.eclipse.jetty.io.NegotiatingClientConnectionFactory
- getConnection() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- getConnection() - Method in interface org.eclipse.jetty.io.EndPoint
- getConnectionDurationMax() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionDurationMax() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnectionDurationMean() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionDurationMean() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnectionDurationStdDev() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionDurationStdDev() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnections() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnections() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnectionsMax() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionsMax() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnectionStatisticsGroups() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionStatisticsGroups() - Method in class org.eclipse.jetty.io.jmx.ConnectionStatisticsMBean
- getConnectionsTotal() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getConnectionsTotal() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getConnectTimeout() - Method in class org.eclipse.jetty.io.SelectorManager
-
Get the connect timeout
- getCreatedTimeStamp() - Method in class org.eclipse.jetty.io.AbstractConnection
- getCreatedTimeStamp() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- getCreatedTimeStamp() - Method in interface org.eclipse.jetty.io.Connection
- getCreatedTimeStamp() - Method in interface org.eclipse.jetty.io.EndPoint
- getDecryptedEndPoint() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- getDirectByteBufferCount() - Method in class org.eclipse.jetty.io.ArrayByteBufferPool
- getDirectByteBufferCount() - Method in class org.eclipse.jetty.io.MappedByteBufferPool
- getEndPoint() - Method in class org.eclipse.jetty.io.AbstractConnection
- getEndPoint() - Method in interface org.eclipse.jetty.io.Connection
- getExecutor() - Method in class org.eclipse.jetty.io.AbstractConnection
- getExecutor() - Method in class org.eclipse.jetty.io.SelectorManager
- getExpireNanoTime() - Method in interface org.eclipse.jetty.io.CyclicTimeouts.Expirable
-
Returns the expiration time in nanoseconds.
- getFillInterest() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- getHeapByteBufferCount() - Method in class org.eclipse.jetty.io.ArrayByteBufferPool
- getHeapByteBufferCount() - Method in class org.eclipse.jetty.io.MappedByteBufferPool
- getIdleFor() - Method in class org.eclipse.jetty.io.IdleTimeout
- getIdleTimeout() - Method in interface org.eclipse.jetty.io.EndPoint
-
Get the max idle time in ms.
- getIdleTimeout() - Method in class org.eclipse.jetty.io.IdleTimeout
- getIdleTimeout() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- getInputBufferSize() - Method in class org.eclipse.jetty.io.AbstractConnection
- getLeakedAcquires() - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- getLeakedReleases() - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- getLeakedRemoves() - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- getLeakedResources() - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- getLength() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
-
Get the amount of bytes which have been accumulated.
- getLocalAddress() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getLocalAddress() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- getLocalAddress() - Method in interface org.eclipse.jetty.io.EndPoint
- getLocalAddress() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- getMaxSelectedKeys() - Method in class org.eclipse.jetty.io.ManagedSelector
- getMessagesIn() - Method in class org.eclipse.jetty.io.AbstractConnection
- getMessagesIn() - Method in interface org.eclipse.jetty.io.Connection
- getMessagesOut() - Method in class org.eclipse.jetty.io.AbstractConnection
- getMessagesOut() - Method in interface org.eclipse.jetty.io.Connection
- getName() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getOutput() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getOutputString() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getOutputString(Charset) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getReceivedBytes() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getReceivedBytes() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getReceivedBytesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getReceivedBytesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getReceivedMessages() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getReceivedMessages() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getReceivedMessagesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getReceivedMessagesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getReferences() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- getRemoteAddress() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getRemoteAddress() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- getRemoteAddress() - Method in interface org.eclipse.jetty.io.EndPoint
- getRemoteAddress() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- getRenegotiationLimit() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- getReservedThreads() - Method in class org.eclipse.jetty.io.SelectorManager
-
Deprecated.
- getScheduler() - Method in class org.eclipse.jetty.io.CyclicTimeout
- getScheduler() - Method in class org.eclipse.jetty.io.IdleTimeout
- getScheduler() - Method in class org.eclipse.jetty.io.SelectorManager
- getSelectCount() - Method in class org.eclipse.jetty.io.ManagedSelector
- getSelector() - Method in class org.eclipse.jetty.io.ManagedSelector
- getSelectorCount() - Method in class org.eclipse.jetty.io.SelectorManager
- getSentBytes() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getSentBytes() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getSentBytesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getSentBytesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getSentMessages() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getSentMessages() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getSentMessagesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- getSentMessagesRate() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- getSize() - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- getSocket() - Method in class org.eclipse.jetty.io.SocketChannelEndPoint
- getSslConnection() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- getSSLEngine() - Method in class org.eclipse.jetty.io.NegotiatingClientConnection
- getSSLEngine() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- getSSLEngine() - Method in class org.eclipse.jetty.io.ssl.SslHandshakeListener.Event
- getTotalKeys() - Method in class org.eclipse.jetty.io.ManagedSelector
- getTotalLength() - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- getTransport() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- getTransport() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- getTransport() - Method in interface org.eclipse.jetty.io.EndPoint
- getTransport() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- getWriteFlusher() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- getWriteFlusher() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
H
- handleSelectFailure(Selector, Throwable) - Method in class org.eclipse.jetty.io.ManagedSelector
- handshakeFailed(SslHandshakeListener.Event, Throwable) - Method in interface org.eclipse.jetty.io.ssl.SslHandshakeListener
-
Callback method invoked when the TLS handshake fails.
- handshakeSucceeded(SslHandshakeListener.Event) - Method in interface org.eclipse.jetty.io.ssl.SslHandshakeListener
-
Callback method invoked when the TLS handshake succeeds.
- hasMore() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- hasRemaining() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
I
- IdleTimeout - Class in org.eclipse.jetty.io
-
An Abstract implementation of an Idle Timeout.
- IdleTimeout(Scheduler) - Constructor for class org.eclipse.jetty.io.IdleTimeout
- include(Class<? extends Connection>) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- include(String) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- IncludeExcludeConnectionStatistics - Class in org.eclipse.jetty.io
- IncludeExcludeConnectionStatistics() - Constructor for class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- IncludeExcludeConnectionStatistics.ConnectionSet - Class in org.eclipse.jetty.io
- incoming(Socket, ByteBuffer) - Method in class org.eclipse.jetty.io.NetworkTrafficListener.Adapter
-
Deprecated.
- incoming(Socket, ByteBuffer) - Method in interface org.eclipse.jetty.io.NetworkTrafficListener
-
Callback method invoked when bytes sent by a remote client arrived on the server.
- incrementCount() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- init() - Method in interface org.eclipse.jetty.io.ssl.ALPNProcessor
-
Initializes this ALPNProcessor
- insert(int, ByteBuffer, boolean) - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- isAllowMissingCloseMessage() - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
-
Deprecated.
- isAllowMissingCloseMessage() - Method in class org.eclipse.jetty.io.ssl.SslConnection
-
Deprecated.use inverted
SslConnection.isRequireCloseMessage()
instead - isConnectionPending(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- isDirectBuffersForDecryption() - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- isDirectBuffersForEncryption() - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- isEmpty() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- isFillInterested() - Method in class org.eclipse.jetty.io.AbstractConnection
- isFillInterested() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- isFillInterested() - Method in interface org.eclipse.jetty.io.EndPoint
- isGrowOutput() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- isInputShutdown() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- isInputShutdown() - Method in interface org.eclipse.jetty.io.EndPoint
-
Test if the input is shutdown.
- isInputShutdown() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- isInterested() - Method in class org.eclipse.jetty.io.FillInterest
- isOpen() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- isOpen() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- isOpen() - Method in interface org.eclipse.jetty.io.EndPoint
- isOpen() - Method in class org.eclipse.jetty.io.IdleTimeout
-
This abstract method should be called to check if idle timeouts should still be checked.
- isOpen() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- isOptimizedForDirectBuffers() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- isOptimizedForDirectBuffers() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- isOptimizedForDirectBuffers() - Method in interface org.eclipse.jetty.io.EndPoint
-
Is the endpoint optimized for DirectBuffer usage
- isOutputShutdown() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- isOutputShutdown() - Method in interface org.eclipse.jetty.io.EndPoint
-
Test if output is shutdown.
- isOutputShutdown() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- isPending() - Method in class org.eclipse.jetty.io.WriteFlusher
- isRenegotiationAllowed() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- isRequireCloseMessage() - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- isRequireCloseMessage() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- iterator() - Method in class org.eclipse.jetty.io.CyclicTimeouts
- iterator() - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
L
- leaked(LeakDetector.LeakInfo) - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- LeakTrackingByteBufferPool - Class in org.eclipse.jetty.io
- LeakTrackingByteBufferPool(ByteBufferPool) - Constructor for class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- Lease(ByteBufferPool) - Constructor for class org.eclipse.jetty.io.ByteBufferPool.Lease
- LOG - Static variable in class org.eclipse.jetty.io.SelectorManager
M
- ManagedSelector - Class in org.eclipse.jetty.io
-
ManagedSelector
wraps aSelector
simplifying non-blocking operations on channels. - ManagedSelector(SelectorManager, int) - Constructor for class org.eclipse.jetty.io.ManagedSelector
- ManagedSelector.Selectable - Interface in org.eclipse.jetty.io
-
A
ManagedSelector.Selectable
is anEndPoint
that wish to be notified of non-blocking events by theManagedSelector
. - ManagedSelector.SelectorUpdate - Interface in org.eclipse.jetty.io
-
A selector update to be done when the selector has been woken.
- MappedByteBufferPool - Class in org.eclipse.jetty.io
-
A ByteBuffer pool where ByteBuffers are held in queues that are held in a Map.
- MappedByteBufferPool() - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool
-
Creates a new MappedByteBufferPool with a default configuration.
- MappedByteBufferPool(int) - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool
-
Creates a new MappedByteBufferPool with the given capacity factor.
- MappedByteBufferPool(int, int) - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool
-
Creates a new MappedByteBufferPool with the given configuration.
- MappedByteBufferPool(int, int, Function<Integer, ByteBufferPool.Bucket>) - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool
-
Creates a new MappedByteBufferPool with the given configuration.
- MappedByteBufferPool(int, int, Function<Integer, ByteBufferPool.Bucket>, long, long) - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool
-
Creates a new MappedByteBufferPool with the given configuration.
- MappedByteBufferPool.Tagged - Class in org.eclipse.jetty.io
N
- needsFillInterest() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- needsFillInterest() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- needsFillInterest() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- needsFillInterest() - Method in class org.eclipse.jetty.io.FillInterest
-
Register the read interest Abstract method to be implemented by the Specific ReadInterest to schedule a future call to
FillInterest.fillable()
orFillInterest.onFail(Throwable)
- needsFillInterest() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- NegotiatingClientConnection - Class in org.eclipse.jetty.io
- NegotiatingClientConnection(EndPoint, Executor, SSLEngine, ClientConnectionFactory, Map<String, Object>) - Constructor for class org.eclipse.jetty.io.NegotiatingClientConnection
- NegotiatingClientConnectionFactory - Class in org.eclipse.jetty.io
- NegotiatingClientConnectionFactory(ClientConnectionFactory) - Constructor for class org.eclipse.jetty.io.NegotiatingClientConnectionFactory
- networkFill(ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- networkFlush(ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- NetworkTrafficListener - Interface in org.eclipse.jetty.io
-
A listener for raw network traffic within Jetty.
- NetworkTrafficListener.Adapter - Class in org.eclipse.jetty.io
-
Deprecated.use
NetworkTrafficListener
instead - NetworkTrafficSelectChannelEndPoint - Class in org.eclipse.jetty.io
-
Deprecated.use
NetworkTrafficSocketChannelEndPoint
instead - NetworkTrafficSelectChannelEndPoint(SocketChannel, ManagedSelector, SelectionKey, Scheduler, long, List<NetworkTrafficListener>) - Constructor for class org.eclipse.jetty.io.NetworkTrafficSelectChannelEndPoint
-
Deprecated.
- NetworkTrafficSocketChannelEndPoint - Class in org.eclipse.jetty.io
-
A specialized version of
SocketChannelEndPoint
that supportsNetworkTrafficListener
s. - NetworkTrafficSocketChannelEndPoint(SelectableChannel, ManagedSelector, SelectionKey, Scheduler, long, List<NetworkTrafficListener>) - Constructor for class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- newByteBuffer(int, boolean) - Method in interface org.eclipse.jetty.io.ByteBufferPool
-
Creates a new ByteBuffer of the given capacity and the given directness.
- newByteBuffer(int, boolean) - Method in class org.eclipse.jetty.io.MappedByteBufferPool.Tagged
- newConnection(SelectableChannel, EndPoint, Object) - Method in class org.eclipse.jetty.io.SelectorManager
-
Factory method to create
Connection
. - newConnection(EndPoint, Map<String, Object>) - Method in interface org.eclipse.jetty.io.ClientConnectionFactory
- newConnection(EndPoint, Map<String, Object>) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- newDecryptedEndPoint() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- newEndPoint(SelectableChannel, ManagedSelector, SelectionKey) - Method in class org.eclipse.jetty.io.SelectorManager
-
Factory method to create
EndPoint
. - newSelector() - Method in class org.eclipse.jetty.io.SelectorManager
- newSelector(int) - Method in class org.eclipse.jetty.io.SelectorManager
-
Factory method for
ManagedSelector
. - newSslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- newSslEngine(String, int, Map<String, Object>) - Method in interface org.eclipse.jetty.io.ssl.SslClientConnectionFactory.SslEngineFactory
-
Creates a new
SSLEngine
instance for the given peer host and port, and with the given context to help the creation of the SSLEngine. - nioSelect(Selector, boolean) - Method in class org.eclipse.jetty.io.ManagedSelector
- notIdle() - Method in class org.eclipse.jetty.io.IdleTimeout
-
This method should be called when non-idle activity has taken place.
- notifyIncoming(ByteBuffer, int) - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- notifyOutgoing(ByteBuffer) - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- NullByteBufferPool - Class in org.eclipse.jetty.io
- NullByteBufferPool() - Constructor for class org.eclipse.jetty.io.NullByteBufferPool
O
- onAccepted(SelectableChannel) - Method in interface org.eclipse.jetty.io.SelectorManager.AcceptListener
-
Called after the accepted channel has been allocated an
EndPoint
and associatedConnection
, and after the onOpen notifications have been called on both endPoint and connection. - onAccepted(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- onAcceptFailed(SelectableChannel, Throwable) - Method in interface org.eclipse.jetty.io.SelectorManager.AcceptListener
-
Called if the processing of the accepted channel fails prior to calling
SelectorManager.AcceptListener.onAccepted(SelectableChannel)
. - onAcceptFailed(SelectableChannel, Throwable) - Method in class org.eclipse.jetty.io.SelectorManager
- onAccepting(SelectableChannel) - Method in interface org.eclipse.jetty.io.SelectorManager.AcceptListener
-
Called immediately after a new SelectableChannel is accepted, but before it has been submitted to the
SelectorManager
. - onAccepting(SelectableChannel) - Method in class org.eclipse.jetty.io.SelectorManager
- onClose() - Method in class org.eclipse.jetty.io.AbstractConnection
- onClose() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- onClose() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- onClose() - Method in interface org.eclipse.jetty.io.Connection
-
Callback method invoked when this connection is closed.
- onClose() - Method in interface org.eclipse.jetty.io.EndPoint
-
Callback method invoked when this EndPoint is close.
- onClose() - Method in class org.eclipse.jetty.io.FillInterest
- onClose() - Method in class org.eclipse.jetty.io.IdleTimeout
- onClose() - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- onClose() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- onClose() - Method in class org.eclipse.jetty.io.WriteFlusher
- onClose(Throwable) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- onClosed(Connection) - Method in class org.eclipse.jetty.io.Connection.Listener.Adapter
- onClosed(Connection) - Method in interface org.eclipse.jetty.io.Connection.Listener
- onClosed(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onClosed(Connection) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- onConnectionClosed(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onConnectionOpened(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onExpired(T) - Method in class org.eclipse.jetty.io.CyclicTimeouts
-
Invoked during the iteration when the given entity is expired.
- onFail(Throwable) - Method in class org.eclipse.jetty.io.FillInterest
-
Call to signal a failure to a registered interest
- onFail(Throwable) - Method in class org.eclipse.jetty.io.WriteFlusher
-
Notify the flusher of a failure
- onFillable() - Method in class org.eclipse.jetty.io.AbstractConnection
-
Callback method invoked when the endpoint is ready to be read.
- onFillable() - Method in class org.eclipse.jetty.io.NegotiatingClientConnection
- onFillable() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- onFillable() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- onFillableFail(Throwable) - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- onFillInterestedFailed(Throwable) - Method in class org.eclipse.jetty.io.AbstractConnection
-
Callback method invoked when the endpoint failed to be ready to be read.
- onFillInterestedFailed(Throwable) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- onFlushed(long) - Method in interface org.eclipse.jetty.io.WriteFlusher.Listener
-
Invoked when a
WriteFlusher
flushed bytes in a non-blocking way, as part of a - possibly larger - write. - onIdleExpired() - Method in class org.eclipse.jetty.io.AbstractConnection
- onIdleExpired() - Method in interface org.eclipse.jetty.io.Connection
-
Callback method invoked upon an idle timeout event.
- onIdleExpired() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- onIdleExpired(TimeoutException) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- onIdleExpired(TimeoutException) - Method in class org.eclipse.jetty.io.IdleTimeout
-
This abstract method is called when the idle timeout has expired.
- onIncompleteFlush() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- onIncompleteFlush() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- onIncompleteFlush() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- onIncompleteFlush() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- onIncompleteFlush() - Method in class org.eclipse.jetty.io.WriteFlusher
-
Abstract call to be implemented by specific WriteFlushers.
- onOpen() - Method in class org.eclipse.jetty.io.AbstractConnection
- onOpen() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- onOpen() - Method in interface org.eclipse.jetty.io.Connection
-
Callback method invoked when this connection is opened.
- onOpen() - Method in interface org.eclipse.jetty.io.EndPoint
-
Callback method invoked when this EndPoint is opened.
- onOpen() - Method in class org.eclipse.jetty.io.IdleTimeout
- onOpen() - Method in class org.eclipse.jetty.io.NegotiatingClientConnection
- onOpen() - Method in class org.eclipse.jetty.io.NetworkTrafficSocketChannelEndPoint
- onOpen() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- onOpened(Connection) - Method in class org.eclipse.jetty.io.Connection.Listener.Adapter
- onOpened(Connection) - Method in interface org.eclipse.jetty.io.Connection.Listener
- onOpened(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onOpened(Connection) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics
- onReadTimeout(Throwable) - Method in class org.eclipse.jetty.io.AbstractConnection
-
Callback method invoked when the endpoint failed to be ready to be read after a timeout
- onSelected() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- onSelected() - Method in interface org.eclipse.jetty.io.ManagedSelector.Selectable
-
Callback method invoked when a read or write events has been detected by the
ManagedSelector
for this endpoint. - onSelectFailed(Throwable) - Method in class org.eclipse.jetty.io.ManagedSelector
- onTimeoutExpired() - Method in class org.eclipse.jetty.io.CyclicTimeout
-
Invoked when the timeout expires.
- onTotalClosed(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onTotalOpened(Connection) - Method in class org.eclipse.jetty.io.ConnectionStatistics
- onUpgradeFrom() - Method in interface org.eclipse.jetty.io.Connection.UpgradeFrom
-
Invoked during an
upgrade
to produce a buffer containing bytes that have not been consumed by this connection, and that must be consumed by the upgrade-to connection. - onUpgradeTo(ByteBuffer) - Method in interface org.eclipse.jetty.io.Connection.UpgradeTo
-
Invoked during an
upgrade
to receive a buffer containing bytes that have not been consumed by the upgrade-from connection, and that must be consumed by this connection. - onUpgradeTo(ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- opened(Socket) - Method in class org.eclipse.jetty.io.NetworkTrafficListener.Adapter
-
Deprecated.
- opened(Socket) - Method in interface org.eclipse.jetty.io.NetworkTrafficListener
-
Callback method invoked when a connection from a remote client has been accepted.
- org.eclipse.jetty.io - package org.eclipse.jetty.io
-
Jetty IO : Core classes for Jetty IO subsystem
- org.eclipse.jetty.io.jmx - package org.eclipse.jetty.io.jmx
- org.eclipse.jetty.io.ssl - package org.eclipse.jetty.io.ssl
-
Jetty IO : Core SSL Support
- outgoing(Socket, ByteBuffer) - Method in class org.eclipse.jetty.io.NetworkTrafficListener.Adapter
-
Deprecated.
- outgoing(Socket, ByteBuffer) - Method in interface org.eclipse.jetty.io.NetworkTrafficListener
-
Callback method invoked when bytes are sent to a remote client from the server.
Q
- QuietException - Interface in org.eclipse.jetty.io
-
A Quiet Exception.
R
- recordBytesIn(long) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- recordBytesOut(long) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- recordDuration(long) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- recordMessagesIn(long) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- recordMessagesOut(long) - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- recycle() - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- register(Callback) - Method in class org.eclipse.jetty.io.FillInterest
-
Call to register interest in a callback when a read is possible.
- release() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- release(ByteBuffer) - Method in class org.eclipse.jetty.io.ArrayByteBufferPool
- release(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferPool.Bucket
- release(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferPool.Lease
- release(ByteBuffer) - Method in interface org.eclipse.jetty.io.ByteBufferPool
-
Returns a
ByteBuffer
, usually obtained withByteBufferPool.acquire(int, boolean)
(but not necessarily), making it available for recycling and reuse. - release(ByteBuffer) - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- release(ByteBuffer) - Method in class org.eclipse.jetty.io.MappedByteBufferPool
- release(ByteBuffer) - Method in class org.eclipse.jetty.io.NullByteBufferPool
- releaseDecryptedInputBuffer() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- remaining() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- remove(Object) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- remove(ByteBuffer) - Method in interface org.eclipse.jetty.io.ByteBufferPool
-
Removes a
ByteBuffer
that was previously obtained withByteBufferPool.acquire(int, boolean)
. - remove(ByteBuffer) - Method in class org.eclipse.jetty.io.LeakTrackingByteBufferPool
- removeAcceptListener(SelectorManager.AcceptListener) - Method in class org.eclipse.jetty.io.SelectorManager
- removeEventListener(EventListener) - Method in class org.eclipse.jetty.io.SelectorManager
- removeHandshakeListener(SslHandshakeListener) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- removeListener(Connection.Listener) - Method in class org.eclipse.jetty.io.AbstractConnection
- removeListener(Connection.Listener) - Method in interface org.eclipse.jetty.io.Connection
-
Removes a listener of connection events.
- replaceKey(SelectionKey) - Method in class org.eclipse.jetty.io.ChannelEndPoint
- replaceKey(SelectionKey) - Method in interface org.eclipse.jetty.io.ManagedSelector.Selectable
-
Callback method invoked when the SelectionKey is replaced because the channel has been moved to a new selector.
- reset() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- reset() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- reset() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- reset() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- resetStats() - Method in class org.eclipse.jetty.io.ManagedSelector
- retain() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- RetainableByteBuffer - Class in org.eclipse.jetty.io
-
A Retainable ByteBuffer.
- RetainableByteBuffer(ByteBufferPool, int) - Constructor for class org.eclipse.jetty.io.RetainableByteBuffer
- RetainableByteBuffer(ByteBufferPool, int, boolean) - Constructor for class org.eclipse.jetty.io.RetainableByteBuffer
- RuntimeIOException - Exception in org.eclipse.jetty.io
-
Subclass of
RuntimeException
used to signal that there was anIOException
thrown by underlyingWriter
- RuntimeIOException() - Constructor for exception org.eclipse.jetty.io.RuntimeIOException
- RuntimeIOException(String) - Constructor for exception org.eclipse.jetty.io.RuntimeIOException
- RuntimeIOException(String, Throwable) - Constructor for exception org.eclipse.jetty.io.RuntimeIOException
- RuntimeIOException(Throwable) - Constructor for exception org.eclipse.jetty.io.RuntimeIOException
S
- schedule(long, TimeUnit) - Method in class org.eclipse.jetty.io.CyclicTimeout
-
Schedules a timeout, even if already set, cancelled or expired.
- schedule(T) - Method in class org.eclipse.jetty.io.CyclicTimeouts
-
Manages the timeout of a new entity.
- select(Selector) - Method in class org.eclipse.jetty.io.ManagedSelector
- SelectChannelEndPoint - Class in org.eclipse.jetty.io
-
Deprecated.use
SocketChannelEndPoint
instead - SelectChannelEndPoint(SelectableChannel, ManagedSelector, SelectionKey, Scheduler, long) - Constructor for class org.eclipse.jetty.io.SelectChannelEndPoint
-
Deprecated.
- SelectorManager - Class in org.eclipse.jetty.io
-
SelectorManager
manages a number ofManagedSelector
s that simplify the non-blocking primitives provided by the JVM via thejava.nio
package. - SelectorManager(Executor, Scheduler) - Constructor for class org.eclipse.jetty.io.SelectorManager
- SelectorManager(Executor, Scheduler, int) - Constructor for class org.eclipse.jetty.io.SelectorManager
- SelectorManager.AcceptListener - Interface in org.eclipse.jetty.io
-
A listener for accept events.
- setAllowMissingCloseMessage(boolean) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
-
Deprecated.
- setAllowMissingCloseMessage(boolean) - Method in class org.eclipse.jetty.io.ssl.SslConnection
-
Deprecated.use inverted
SslConnection.setRequireCloseMessage(boolean)
instead - setConnection(Connection) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- setConnection(Connection) - Method in interface org.eclipse.jetty.io.EndPoint
- setConnection(Connection) - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- setConnectTimeout(long) - Method in class org.eclipse.jetty.io.SelectorManager
-
Set the connect timeout (in milliseconds)
- setDirectBuffersForDecryption(boolean) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- setDirectBuffersForEncryption(boolean) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- setGrowOutput(boolean) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- setIdleTimeout(long) - Method in interface org.eclipse.jetty.io.EndPoint
-
Set the idle timeout.
- setIdleTimeout(long) - Method in class org.eclipse.jetty.io.IdleTimeout
-
Sets the idle timeout in milliseconds.
- setIdleTimeout(long) - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- setInputBufferSize(int) - Method in class org.eclipse.jetty.io.AbstractConnection
- setOutput(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- setRenegotiationAllowed(boolean) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- setRenegotiationLimit(int) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- setRequireCloseMessage(boolean) - Method in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- setRequireCloseMessage(boolean) - Method in class org.eclipse.jetty.io.ssl.SslConnection
-
Sets whether it is required that a peer send the TLS
close_notify
message to indicate the will to close the connection, otherwise it may be interpreted as a truncation attack. - setReservedThreads(int) - Method in class org.eclipse.jetty.io.SelectorManager
-
Deprecated.
- shutdownInput() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- shutdownOutput() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- shutdownOutput() - Method in interface org.eclipse.jetty.io.EndPoint
-
Shutdown the output.
- size() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- size() - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- size() - Method in class org.eclipse.jetty.io.ManagedSelector
- SocketChannelEndPoint - Class in org.eclipse.jetty.io
- SocketChannelEndPoint(SelectableChannel, ManagedSelector, SelectionKey, Scheduler) - Constructor for class org.eclipse.jetty.io.SocketChannelEndPoint
- SocketChannelEndPoint(SocketChannel, ManagedSelector, SelectionKey, Scheduler) - Constructor for class org.eclipse.jetty.io.SocketChannelEndPoint
- SSL_CONTEXT_FACTORY_CONTEXT_KEY - Static variable in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- SSL_ENGINE_CONTEXT_KEY - Static variable in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- SSL_PEER_HOST_CONTEXT_KEY - Static variable in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- SSL_PEER_PORT_CONTEXT_KEY - Static variable in class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- SslClientConnectionFactory - Class in org.eclipse.jetty.io.ssl
-
A ClientConnectionFactory that creates client-side
SslConnection
instances. - SslClientConnectionFactory(SslContextFactory, ByteBufferPool, Executor, ClientConnectionFactory) - Constructor for class org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- SslClientConnectionFactory.SslEngineFactory - Interface in org.eclipse.jetty.io.ssl
-
A factory for
SSLEngine
objects. - SslConnection - Class in org.eclipse.jetty.io.ssl
-
A Connection that acts as an interceptor between an EndPoint providing SSL encrypted data and another consumer of an EndPoint (typically an
Connection
like HttpConnection) that wants unencrypted data. - SslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine) - Constructor for class org.eclipse.jetty.io.ssl.SslConnection
- SslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine, boolean, boolean) - Constructor for class org.eclipse.jetty.io.ssl.SslConnection
- SslConnection.DecryptedEndPoint - Class in org.eclipse.jetty.io.ssl
- SslHandshakeListener - Interface in org.eclipse.jetty.io.ssl
-
Implementations of this interface are notified of TLS handshake events.
- SslHandshakeListener.Event - Class in org.eclipse.jetty.io.ssl
-
The event object carrying information about TLS handshake events.
- Stats(String) - Constructor for class org.eclipse.jetty.io.ConnectionStatistics.Stats
- submit(ManagedSelector.SelectorUpdate) - Method in class org.eclipse.jetty.io.ManagedSelector
-
Submit an
ManagedSelector.SelectorUpdate
to be acted on between calls toSelector.select()
T
- Tagged() - Constructor for class org.eclipse.jetty.io.MappedByteBufferPool.Tagged
- takeByteBuffer() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
-
Take the combined buffer containing all content written to the accumulator.
- takeByteBuffer() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
-
Take the combined buffer containing all content written to the OutputStream.
- takeOutput() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- takeOutputString() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- takeOutputString(Charset) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- test(Connection) - Method in class org.eclipse.jetty.io.IncludeExcludeConnectionStatistics.ConnectionSet
- toByteArray() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- toByteArray() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- toByteBuffer() - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
-
Take the combined buffer containing all content written to the accumulator.
- toByteBuffer() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
-
Take the combined buffer containing all content written to the OutputStream.
- toConnectionString() - Method in class org.eclipse.jetty.io.AbstractConnection
- toConnectionString() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- toConnectionString() - Method in class org.eclipse.jetty.io.ssl.SslConnection
- toEndPointString() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- toEndPointString() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- toStateString() - Method in class org.eclipse.jetty.io.FillInterest
- toStateString() - Method in class org.eclipse.jetty.io.WriteFlusher
- toString() - Method in class org.eclipse.jetty.io.AbstractConnection
- toString() - Method in class org.eclipse.jetty.io.AbstractEndPoint
- toString() - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
- toString() - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- toString() - Method in class org.eclipse.jetty.io.ByteBufferPool.Bucket
- toString() - Method in class org.eclipse.jetty.io.ConnectionStatistics.Stats
- toString() - Method in class org.eclipse.jetty.io.ConnectionStatistics
- toString() - Method in class org.eclipse.jetty.io.FillInterest
- toString() - Method in class org.eclipse.jetty.io.ManagedSelector
- toString() - Method in class org.eclipse.jetty.io.RetainableByteBuffer
- toString() - Method in class org.eclipse.jetty.io.ssl.SslConnection.DecryptedEndPoint
- toString() - Method in class org.eclipse.jetty.io.WriteFlusher
- tryFillInterested() - Method in class org.eclipse.jetty.io.AbstractConnection
- tryFillInterested(Callback) - Method in class org.eclipse.jetty.io.AbstractConnection
- tryFillInterested(Callback) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- tryFillInterested(Callback) - Method in interface org.eclipse.jetty.io.EndPoint
-
Requests callback methods to be invoked when a call to
EndPoint.fill(ByteBuffer)
would return data or EOF. - tryRegister(Callback) - Method in class org.eclipse.jetty.io.FillInterest
-
Call to register interest in a callback when a read is possible.
U
- unwrap(SSLEngine, ByteBuffer, ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- update(Selector) - Method in interface org.eclipse.jetty.io.ManagedSelector.SelectorUpdate
- updateKey() - Method in class org.eclipse.jetty.io.ChannelEndPoint
- updateKey() - Method in interface org.eclipse.jetty.io.ManagedSelector.Selectable
-
Callback method invoked when all the keys selected by the
ManagedSelector
for this endpoint have been processed. - upgrade(Connection) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- upgrade(Connection) - Method in interface org.eclipse.jetty.io.EndPoint
-
Upgrades this EndPoint from the current connection to the given new connection.
W
- waitForOutput(long, TimeUnit) - Method in class org.eclipse.jetty.io.ByteArrayEndPoint
-
Wait for some output
- wrap(SSLEngine, ByteBuffer[], ByteBuffer) - Method in class org.eclipse.jetty.io.ssl.SslConnection
- write(byte[]) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream
- write(byte[]) - Method in class org.eclipse.jetty.io.WriterOutputStream
- write(byte[], int, int) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream
- write(byte[], int, int) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- write(byte[], int, int) - Method in class org.eclipse.jetty.io.WriterOutputStream
- write(int) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream
- write(int) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- write(int) - Method in class org.eclipse.jetty.io.WriterOutputStream
- write(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- write(Callback, ByteBuffer...) - Method in class org.eclipse.jetty.io.AbstractEndPoint
- write(Callback, ByteBuffer...) - Method in interface org.eclipse.jetty.io.EndPoint
-
Writes the given buffers via
EndPoint.flush(ByteBuffer...)
and invokes callback methods when either all the data has been flushed or an error occurs. - write(Callback, ByteBuffer...) - Method in class org.eclipse.jetty.io.WriteFlusher
-
Tries to switch state to WRITING.
- WriteFlusher - Class in org.eclipse.jetty.io
-
A Utility class to help implement
EndPoint.write(Callback, ByteBuffer...)
by callingEndPoint.flush(ByteBuffer...)
until all content is written. - WriteFlusher(EndPoint) - Constructor for class org.eclipse.jetty.io.WriteFlusher
- WriteFlusher.Listener - Interface in org.eclipse.jetty.io
-
A listener of
WriteFlusher
events. - WriterOutputStream - Class in org.eclipse.jetty.io
-
Wrap a Writer as an OutputStream.
- WriterOutputStream(Writer) - Constructor for class org.eclipse.jetty.io.WriterOutputStream
- WriterOutputStream(Writer, String) - Constructor for class org.eclipse.jetty.io.WriterOutputStream
- writeTo(OutputStream) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- writeTo(OutputStream) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
- writeTo(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferAccumulator
- writeTo(ByteBuffer) - Method in class org.eclipse.jetty.io.ByteBufferOutputStream2
_
- _encoding - Variable in class org.eclipse.jetty.io.WriterOutputStream
- _writer - Variable in class org.eclipse.jetty.io.WriterOutputStream
All Classes All Packages