Uses of Interface
org.eclipse.jetty.io.ByteBufferPool
Packages that use ByteBufferPool
Package
Description
Jetty IO : Core classes for Jetty IO subsystem
Jetty IO : Core SSL Support
-
Uses of ByteBufferPool in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement ByteBufferPoolModifier and TypeClassDescriptionclassARetainableByteBufferpool where RetainableByteBuffers are held inPools that are held in array elements.static classA variant of theArrayByteBufferPoolthat uses buckets of buffers that increase in size by a power of 2 (e.g. 1k, 2k, 4k, 8k, etc.).static classA variant ofArrayByteBufferPoolthat tracks buffer acquires/releases, useful to identify buffer leaks.static classAByteBufferPoolthat does not pool itsRetainableByteBuffers.static classA ByteBufferPool with an additional no-argsByteBufferPool.Sized.acquire()method to obtain a buffer of a preconfigured specific size and type.static classA wrapper forByteBufferPoolinstances.Fields in org.eclipse.jetty.io declared as ByteBufferPoolMethods in org.eclipse.jetty.io that return ByteBufferPoolModifier and TypeMethodDescriptionClientConnector.getByteBufferPool()ByteBufferPool.Wrapper.getWrapped()Methods in org.eclipse.jetty.io with parameters of type ByteBufferPoolModifier and TypeMethodDescriptionstatic Content.SinkContent.Sink.asBuffered(Content.Sink sink, ByteBufferPool bufferPool, boolean direct, int maxAggregationSize, int maxBufferSize) Wraps the given content sink with a buffering sink.static Content.SourceIOResources.asContentSource(org.eclipse.jetty.util.resource.Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct) Gets aContent.Sourcewith the contents of a resource.static Content.SourceIOResources.asContentSource(org.eclipse.jetty.util.resource.Resource resource, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length) Gets aContent.Sourcewith 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 voidIOResources.copy(org.eclipse.jetty.util.resource.Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, long first, long length, org.eclipse.jetty.util.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 voidIOResources.copy(org.eclipse.jetty.util.resource.Resource resource, Content.Sink sink, ByteBufferPool bufferPool, int bufferSize, boolean direct, org.eclipse.jetty.util.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.voidClientConnector.setByteBufferPool(ByteBufferPool byteBufferPool) ChunkAccumulator.take(ByteBufferPool pool, boolean direct) static RetainableByteBufferIOResources.toRetainableByteBuffer(org.eclipse.jetty.util.resource.Resource resource, ByteBufferPool bufferPool, boolean direct) Reads the contents of a Resource into a RetainableByteBuffer.Constructors in org.eclipse.jetty.io with parameters of type ByteBufferPoolModifierConstructorDescriptionByteBufferAccumulator(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
Constructors in org.eclipse.jetty.io.content with parameters of type ByteBufferPoolModifierConstructorDescriptionBufferedContentSink(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
Methods in org.eclipse.jetty.io.ssl that return ByteBufferPoolConstructors in org.eclipse.jetty.io.ssl with parameters of type ByteBufferPoolModifierConstructorDescriptionSslClientConnectionFactory(org.eclipse.jetty.util.ssl.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, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine) SslConnection(ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, EndPoint endPoint, SSLEngine sslEngine, boolean useDirectBuffersForEncryption, boolean useDirectBuffersForDecryption)