Uses of Interface
org.eclipse.jetty.io.ByteBufferPool
Package
Description
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
Jetty IO : Core SSL Support
This module contains the main abstractions for the QUIC protocol.
Jetty Server : Core Server API
Jetty Server : Core Handler API
-
Uses of ByteBufferPool in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionHttpClient.getByteBufferPool()
Get theByteBufferPool
of this HttpClient.Modifier and TypeMethodDescriptionvoid
HttpClient.setByteBufferPool
(ByteBufferPool byteBufferPool) Set theByteBufferPool
of this HttpClient.ModifierConstructorDescriptionFactory
(ByteBufferPool byteBufferPool) Factory
(ByteBufferPool byteBufferPool, int bufferSize) GZIPContentDecoder
(ByteBufferPool byteBufferPool, int bufferSize) InputStreamRequestContent
(String contentType, InputStream stream, ByteBufferPool bufferPool) PathRequestContent
(String contentType, Path filePath, ByteBufferPool bufferPool) -
Uses of ByteBufferPool in org.eclipse.jetty.ee10.websocket.jakarta.common
-
Uses of ByteBufferPool in org.eclipse.jetty.fcgi.generator
ModifierConstructorDescriptionClientGenerator
(ByteBufferPool bufferPool) ClientGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) Generator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) ServerGenerator
(ByteBufferPool bufferPool) ServerGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers, boolean sendStatus200) -
Uses of ByteBufferPool in org.eclipse.jetty.http
ModifierConstructorDescriptionGZIPContentDecoder
(ByteBufferPool byteBufferPool, int bufferSize) GZIPContentDecoder
(InflaterPool inflaterPool, ByteBufferPool byteBufferPool, int bufferSize) Part
(String contentType, Resource resource, ByteRange byteRange, long contentLength, ByteBufferPool bufferPool) Part
(HttpFields headers, Resource resource, ByteRange byteRange, ByteBufferPool bufferPool) -
Uses of ByteBufferPool in org.eclipse.jetty.http.content
ModifierConstructorDescriptionCachingHttpContentFactory
(HttpContent.Factory authority, ByteBufferPool bufferPool) ValidatingCachingHttpContentFactory
(HttpContent.Factory authority, long validationPeriod, ByteBufferPool bufferPool) Construct aValidatingCachingHttpContentFactory
which validates entries upon use to check if they are still valid.ValidatingCachingHttpContentFactory
(HttpContent.Factory authority, long validationPeriod, ByteBufferPool bufferPool, Scheduler scheduler, long sweepPeriod, long idleTimeout) Construct aValidatingCachingHttpContentFactory
which validates entries upon use to check if they are still valid and an optional period sweeper of the cache to find invalid and old entries to evict. -
Uses of ByteBufferPool in org.eclipse.jetty.http2
ModifierConstructorDescriptionprotected
HTTP2Connection
(ByteBufferPool bufferPool, Executor executor, EndPoint endPoint, HTTP2Session session, int bufferSize) -
Uses of ByteBufferPool in org.eclipse.jetty.http2.client
-
Uses of ByteBufferPool in org.eclipse.jetty.http2.generator
Modifier and TypeMethodDescriptionGenerator.getByteBufferPool()
HeaderGenerator.getByteBufferPool()
ModifierConstructorDescriptionGenerator
(ByteBufferPool bufferPool) Generator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment) Generator
(ByteBufferPool bufferPool, int maxHeaderBlockFragment) HeaderGenerator
(ByteBufferPool bufferPool) HeaderGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) -
Uses of ByteBufferPool in org.eclipse.jetty.http2.parser
ModifierConstructorDescriptionHeaderBlockFragments
(ByteBufferPool bufferPool, int maxCapacity) HeaderBlockParser
(HeaderParser headerParser, ByteBufferPool bufferPool, HpackDecoder hpackDecoder, BodyParser notifier) Parser
(ByteBufferPool bufferPool, int maxHeaderSize) Parser
(ByteBufferPool bufferPool, int maxHeaderSize, RateControl rateControl) ServerParser
(ByteBufferPool bufferPool, int maxHeaderSize, RateControl rateControl) -
Uses of ByteBufferPool in org.eclipse.jetty.http3
ModifierConstructorDescriptionDecoderStreamConnection
(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, QpackEncoder encoder, ParserListener listener) EncoderStreamConnection
(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, QpackDecoder decoder, ParserListener listener) HTTP3StreamConnection
(QuicStreamEndPoint endPoint, Executor executor, ByteBufferPool bufferPool, MessageParser parser) InstructionStreamConnection
(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ParserListener listener) MessageFlusher
(ByteBufferPool bufferPool, QpackEncoder encoder, boolean useDirectByteBuffers) UnidirectionalStreamConnection
(QuicStreamEndPoint endPoint, Executor executor, ByteBufferPool bufferPool, QpackEncoder encoder, QpackDecoder decoder, ParserListener listener) -
Uses of ByteBufferPool in org.eclipse.jetty.http3.generator
ModifierConstructorDescriptionCancelPushGenerator
(ByteBufferPool bufferPool) ControlGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) DataGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) FrameGenerator
(ByteBufferPool bufferPool) GoAwayGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) HeadersGenerator
(ByteBufferPool bufferPool, QpackEncoder encoder, boolean useDirectByteBuffers) MaxPushIdGenerator
(ByteBufferPool bufferPool) MessageGenerator
(ByteBufferPool bufferPool, QpackEncoder encoder, boolean useDirectByteBuffers) PushPromiseGenerator
(ByteBufferPool bufferPool) SettingsGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers) -
Uses of ByteBufferPool in org.eclipse.jetty.http3.qpack
Modifier and TypeMethodDescriptionvoid
Instruction.encode
(ByteBufferPool byteBufferPool, ByteBufferPool.Accumulator accumulator) -
Uses of ByteBufferPool in org.eclipse.jetty.http3.server
ModifierConstructorDescriptionHTTP3ServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, SslContextFactory.Server sslContextFactory, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ByteBufferPool in org.eclipse.jetty.io
Modifier and TypeClassDescriptionclass
ARetainableByteBuffer
pool where RetainableByteBuffers are held inPool
s that are held in array elements.static class
A variant of theArrayByteBufferPool
that uses buckets of buffers that increase in size by a power of 2 (e.g.static class
A variant ofArrayByteBufferPool
that tracks buffer acquires/releases, useful to identify buffer leaks.static class
AByteBufferPool
that does not pool itsRetainableByteBuffer
s.static class
A ByteBufferPool with an additional no-argsByteBufferPool.Sized.acquire()
method to obtain a buffer of a preconfigured specific size and type.static class
A wrapper forByteBufferPool
instances.Modifier and TypeMethodDescriptionClientConnector.getByteBufferPool()
ByteBufferPool.Wrapper.getWrapped()
Modifier and TypeMethodDescriptionstatic Content.Sink
Content.Sink.asBuffered
(Content.Sink sink, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) Wraps the given content sink with a buffering sink.static Content.Source
IOResources.asContentSource
(Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct) Gets aContent.Source
with the contents of a resource.static Content.Source
IOResources.asContentSource
(Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length) Gets aContent.Source
with a range of the contents of a resource.Content.Source.asRetainableByteBuffer
(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.no replacementstatic void
IOResources.copy
(Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length, Callback callback) Performs an asynchronous copy of a subset of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static void
IOResources.copy
(Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, Callback callback) Performs an asynchronous copy of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.ChunkAccumulator.readAll
(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.void
ClientConnector.setByteBufferPool
(ByteBufferPool byteBufferPool) ChunkAccumulator.take
(ByteBufferPool pool, boolean direct) static RetainableByteBuffer
IOResources.toRetainableByteBuffer
(Resource resource, ByteBufferPool bufferPool, boolean direct) Reads the contents of a Resource into a RetainableByteBuffer.ModifierConstructorDescriptionByteBufferAccumulator
(ByteBufferPool bufferPool, boolean direct) ByteBufferAggregator
(ByteBufferPool bufferPool, boolean direct, int startSize, int maxSize) Creates a ByteBuffer aggregator.ByteBufferOutputStream2
(ByteBufferPool bufferPool, boolean direct) Sized
(ByteBufferPool wrapped) Create a sized pool for non direct buffers of a default size from a wrapped pool.Sized
(ByteBufferPool wrapped, boolean direct, int size) Create a sized pool for a give directness and size from a wrapped pool.Wrapper
(ByteBufferPool wrapped) -
Uses of ByteBufferPool in org.eclipse.jetty.io.content
ModifierConstructorDescriptionBufferedContentSink
(Content.Sink delegate, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) InputStreamContentSource
(InputStream inputStream, ByteBufferPool bufferPool) PathContentSource
(Path path, ByteBufferPool byteBufferPool) -
Uses of ByteBufferPool in org.eclipse.jetty.io.ssl
ModifierConstructorDescriptionSslClientConnectionFactory
(SslContextFactory.Client sslContextFactory, ByteBufferPool byteBufferPool, Executor executor, ClientConnectionFactory connectionFactory) SslConnection
(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, SSLEngine sslEngine) Deprecated.SslConnection
(ByteBufferPool byteBufferPool, Executor executor, EndPoint endPoint, SSLEngine sslEngine, boolean useDirectBuffersForEncryption, boolean useDirectBuffersForDecryption) Deprecated.SslConnection
(ByteBufferPool byteBufferPool, Executor executor, SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine) SslConnection
(ByteBufferPool byteBufferPool, Executor executor, SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine, boolean useDirectBuffersForEncryption, boolean useDirectBuffersForDecryption) -
Uses of ByteBufferPool in org.eclipse.jetty.quic.client
ModifierConstructorDescriptionprotected
ClientQuicSession
(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, org.eclipse.jetty.quic.quiche.QuicheConnection quicheConnection, QuicConnection connection, InetSocketAddress remoteAddress, Map<String, Object> context) -
Uses of ByteBufferPool in org.eclipse.jetty.quic.common
Modifier and TypeMethodDescriptionQuicConnection.getByteBufferPool()
QuicSession.getByteBufferPool()
ModifierConstructorDescriptionprotected
QuicConnection
(Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, EndPoint endPoint) protected
QuicSession
(Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, org.eclipse.jetty.quic.quiche.QuicheConnection quicheConnection, QuicConnection connection, SocketAddress remoteAddress) -
Uses of ByteBufferPool in org.eclipse.jetty.quic.server
ModifierConstructorDescriptionQuicServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, ServerQuicConfiguration quicConfiguration, ConnectionFactory... factories) QuicServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, SslContextFactory.Server sslContextFactory, ConnectionFactory... factories) Deprecated, for removal: This API element is subject to removal in a future version.ServerQuicSession
(Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, org.eclipse.jetty.quic.quiche.QuicheConnection quicheConnection, ServerQuicConnection connection, SocketAddress remoteAddress, Connector connector) -
Uses of ByteBufferPool in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionAbstractConnector.getByteBufferPool()
Components.getByteBufferPool()
Connector.getByteBufferPool()
Get theByteBufferPool
to acquire buffers from and release buffers to.Server.getByteBufferPool()
ModifierConstructorDescriptionAbstractConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, ConnectionFactory... factories) AbstractNetworkConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, ConnectionFactory... factories) LocalConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, ConnectionFactory... factories) MemoryConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, ConnectionFactory... factories) NetworkTrafficServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, int selectors, ConnectionFactory... factories) Server
(ThreadPool threadPool, Scheduler scheduler, ByteBufferPool bufferPool) ServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, int selectors, ConnectionFactory... factories) -
Uses of ByteBufferPool in org.eclipse.jetty.server.handler
Modifier and TypeMethodDescriptionConnectHandler.getByteBufferPool()
ResourceHandler.getByteBufferPool()
Modifier and TypeMethodDescriptionvoid
ConnectHandler.setByteBufferPool
(ByteBufferPool bufferPool) ModifierConstructorDescriptionDownstreamConnection
(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConcurrentMap<String, Object> context) UpstreamConnection
(EndPoint endPoint, Executor executor, ByteBufferPool bufferPool, ConnectHandler.ConnectContext connectContext) -
Uses of ByteBufferPool in org.eclipse.jetty.server.internal
-
Uses of ByteBufferPool in org.eclipse.jetty.unixdomain.server
ModifierConstructorDescriptionUnixDomainServerConnector
(Server server, Executor executor, Scheduler scheduler, ByteBufferPool bufferPool, int acceptors, int selectors, ConnectionFactory... factories) -
Uses of ByteBufferPool in org.eclipse.jetty.websocket.core
Modifier and TypeMethodDescriptionAbstractExtension.getByteBufferPool()
CoreSession.Empty.getByteBufferPool()
CoreSession.getByteBufferPool()
WebSocketComponents.getByteBufferPool()
WebSocketCoreSession.getByteBufferPool()
ModifierConstructorDescriptionWebSocketComponents
(WebSocketExtensionRegistry extensionRegistry, DecoratedObjectFactory objectFactory, ByteBufferPool bufferPool, InflaterPool inflaterPool, DeflaterPool deflaterPool) WebSocketComponents
(WebSocketExtensionRegistry extensionRegistry, DecoratedObjectFactory objectFactory, ByteBufferPool bufferPool, InflaterPool inflaterPool, DeflaterPool deflaterPool, Executor executor) WebSocketConnection
(EndPoint endp, Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, WebSocketCoreSession coreSession) Create a WSConnection.WebSocketConnection
(EndPoint endp, Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, WebSocketCoreSession coreSession, Random randomMask) Create a WSConnection. -
Uses of ByteBufferPool in org.eclipse.jetty.websocket.core.internal
ModifierConstructorDescriptionFrameFlusher
(ByteBufferPool bufferPool, Scheduler scheduler, Generator generator, EndPoint endPoint, int bufferSize, int maxGather) Parser
(ByteBufferPool bufferPool) Parser
(ByteBufferPool bufferPool, Configuration configuration) -
Uses of ByteBufferPool in org.eclipse.jetty.websocket.core.messages
ModifierConstructorDescriptionMessageOutputStream
(CoreSession coreSession, ByteBufferPool bufferPool) MessageWriter
(CoreSession coreSession, ByteBufferPool bufferPool) -
Uses of ByteBufferPool in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionprotected WebSocketConnection
AbstractHandshaker.newWebSocketConnection
(EndPoint endPoint, Executor executor, Scheduler scheduler, ByteBufferPool byteBufferPool, WebSocketCoreSession coreSession)