Uses of Interface
org.eclipse.jetty.io.RetainableByteBuffer
Packages that use RetainableByteBuffer
Package
Description
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
-
Uses of RetainableByteBuffer in org.eclipse.jetty.http
Classes in org.eclipse.jetty.http that implement RetainableByteBufferMethods in org.eclipse.jetty.http that return RetainableByteBufferModifier and TypeMethodDescriptionGZIPContentDecoder.acquire
(int capacity) GZIPContentDecoder.decode
(ByteBuffer compressed) Inflates compressed data from a buffer.Methods in org.eclipse.jetty.http with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionprotected boolean
GZIPContentDecoder.decodedChunk
(RetainableByteBuffer chunk) Called when a chunk of data is inflated. -
Uses of RetainableByteBuffer in org.eclipse.jetty.http2.generator
Methods in org.eclipse.jetty.http2.generator that return RetainableByteBufferModifier and TypeMethodDescriptionprotected RetainableByteBuffer
FrameGenerator.encode
(HpackEncoder encoder, MetaData metaData) -
Uses of RetainableByteBuffer in org.eclipse.jetty.http2.parser
Methods in org.eclipse.jetty.http2.parser that return RetainableByteBuffer -
Uses of RetainableByteBuffer in org.eclipse.jetty.io
Subinterfaces of RetainableByteBuffer in org.eclipse.jetty.ioModifier and TypeInterfaceDescriptionstatic interface
A chunk of content indicating whether it is the last chunk.static interface
ExtendedRetainableByteBuffer
API with mutator methods.Classes in org.eclipse.jetty.io that implement RetainableByteBufferModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.class
static class
An empty chunk implementation.static class
An abstract implementation ofRetainableByteBuffer
that provides the basicRetainable
functionalitystatic class
AnRetainableByteBuffer.Mutable
RetainableByteBuffer
that can grow its capacity, backed by a chain ofByteBuffer
, which may grow either by aggregation and/or retention.static class
ARetainableByteBuffer
that is empty and not retainable.static class
static class
ARetainableByteBuffer.FixedCapacity
buffer that is neither poolable norretainable
.static class
Apooled
buffer that knows the pool from which it was allocated.static class
A wrapper forRetainableByteBuffer
instancesFields in org.eclipse.jetty.io declared as RetainableByteBufferModifier and TypeFieldDescriptionstatic final RetainableByteBuffer
RetainableByteBuffer.EMPTY
A Zero-capacity, non-retainableRetainableByteBuffer
.Methods in org.eclipse.jetty.io that return RetainableByteBufferModifier and TypeMethodDescriptiondefault RetainableByteBuffer
RetainableByteBuffer.copy()
Creates a deep copy of this RetainableByteBuffer that is entirely independentRetainableByteBuffer.DynamicCapacity.copy()
RetainableByteBuffer.EmptyRetainableByteBuffer.copy()
RetainableByteBuffer.Pooled.copy()
RetainableByteBuffer.Wrapper.copy()
ByteBufferAccumulator.ensureBuffer
(int minAllocationSize) Deprecated, for removal: This API element is subject to removal in a future version.Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.ByteBufferAccumulator.ensureBuffer
(int minSize, int minAllocationSize) Deprecated, for removal: This API element is subject to removal in a future version.Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.RetainableByteBuffer.Wrapper.getWrapped()
ArrayByteBufferPool.Tracking.TrackedBuffer.slice()
ArrayByteBufferPool.Tracking.TrackedBuffer.slice
(long length) Content.Chunk.Empty.slice
(long length) RetainableByteBuffer.EmptyRetainableByteBuffer.slice()
RetainableByteBuffer.EmptyRetainableByteBuffer.slice
(long length) RetainableByteBuffer.Pooled.slice
(long length) default RetainableByteBuffer
RetainableByteBuffer.slice()
Get a slice of the buffer.default RetainableByteBuffer
RetainableByteBuffer.slice
(long length) Get a partial slice of the buffer.RetainableByteBuffer.Wrapper.slice()
RetainableByteBuffer.Wrapper.slice
(long length) ChunkAccumulator.take
(ByteBufferPool pool, boolean direct) Deprecated, for removal: This API element is subject to removal in a future version.RetainableByteBuffer.DynamicCapacity.take
(long length) RetainableByteBuffer.EmptyRetainableByteBuffer.take()
default RetainableByteBuffer
RetainableByteBuffer.take()
Take the contents of this buffer, leaving it clear.default RetainableByteBuffer
RetainableByteBuffer.take
(long length) Take the contents of this buffer, from the head, leaving remaining bytes in this buffer.ByteBufferOutputStream2.takeByteBuffer()
Deprecated.Take the combined buffer containing all content written to the OutputStream.RetainableByteBuffer.DynamicCapacity.takeFrom
(long skip) default RetainableByteBuffer
RetainableByteBuffer.takeFrom
(long skip) Take the contents of this buffer, from the tail, leaving remaining bytes in this buffer.ByteBufferAccumulator.takeRetainableByteBuffer()
Deprecated, for removal: This API element is subject to removal in a future version.Take the combined buffer containing all content written to the accumulator.ByteBufferAggregator.takeRetainableByteBuffer()
Deprecated, for removal: This API element is subject to removal in a future version.Takes the buffer out of the aggregator.ByteBufferOutputStream2.toByteBuffer()
Deprecated.Take the combined buffer containing all content written to the OutputStream.ByteBufferAccumulator.toRetainableByteBuffer()
Deprecated, for removal: This API element is subject to removal in a future version.Take the combined buffer containing all content written to the accumulator.static RetainableByteBuffer
IOResources.toRetainableByteBuffer
(Resource resource, ByteBufferPool.Sized bufferPool) Reads the contents of a Resource into a RetainableByteBuffer.Methods in org.eclipse.jetty.io that return types with arguments of type RetainableByteBufferModifier and TypeMethodDescriptionContent.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 replacementChunkAccumulator.readAll
(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.eclipse.jetty.io with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionRetainableByteBuffer.DynamicCapacity.add
(RetainableByteBuffer bytes) RetainableByteBuffer.FixedCapacity.add
(RetainableByteBuffer bytes) RetainableByteBuffer.Mutable.add
(RetainableByteBuffer bytes) Add the passedRetainableByteBuffer
to this buffer, growing this buffer if necessary and possible.RetainableByteBuffer.Wrapper.add
(RetainableByteBuffer bytes) void
ByteBufferPool.Accumulator.append
(RetainableByteBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.boolean
RetainableByteBuffer.DynamicCapacity.append
(RetainableByteBuffer retainableBytes) boolean
RetainableByteBuffer.FixedCapacity.append
(RetainableByteBuffer bytes) boolean
RetainableByteBuffer.Mutable.append
(RetainableByteBuffer bytes) Retain or copy the contents of the given retainable byte buffer to the end of this buffer, growing this buffer if necessary and possible.boolean
RetainableByteBuffer.Wrapper.append
(RetainableByteBuffer bytes) default boolean
RetainableByteBuffer.appendTo
(RetainableByteBuffer buffer) Appends and consumes the contents of this buffer to the passed buffer, limited by the capacity of the target buffer.boolean
RetainableByteBuffer.DynamicCapacity.appendTo
(RetainableByteBuffer to) boolean
RetainableByteBuffer.Wrapper.appendTo
(RetainableByteBuffer buffer) void
ByteBufferPool.Accumulator.insert
(int index, RetainableByteBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.eclipse.jetty.io with type arguments of type RetainableByteBufferModifier and TypeMethodDescriptionstatic void
Content.Source.asRetainableByteBuffer
(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize, Promise<RetainableByteBuffer> promise) Reads, non-blocking, the whole content source into aRetainableByteBuffer
.Constructors in org.eclipse.jetty.io with parameters of type RetainableByteBuffer