Uses of Interface
org.eclipse.jetty.io.RetainableByteBuffer
Package
Description
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
-
Uses of RetainableByteBuffer in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionContentDecoder.decode
(ByteBuffer buffer) Decodes the bytes in the givenbuffer
and returns the decoded bytes.Modifier and TypeMethodDescriptionprotected boolean
GZIPContentDecoder.decodedChunk
(RetainableByteBuffer chunk) -
Uses of RetainableByteBuffer in org.eclipse.jetty.http
Modifier and TypeMethodDescriptionGZIPContentDecoder.acquire
(int capacity) GZIPContentDecoder.decode
(ByteBuffer compressed) Inflates compressed data from a buffer.Modifier and TypeMethodDescriptionprotected boolean
GZIPContentDecoder.decodedChunk
(RetainableByteBuffer chunk) Called when a chunk of data is inflated. -
Uses of RetainableByteBuffer in org.eclipse.jetty.http2.generator
Modifier and TypeMethodDescriptionprotected RetainableByteBuffer
FrameGenerator.encode
(HpackEncoder encoder, MetaData metaData, int maxFrameSize) protected RetainableByteBuffer
FrameGenerator.generateHeader
(FrameType frameType, int length, int flags, int streamId) -
Uses of RetainableByteBuffer in org.eclipse.jetty.http2.parser
-
Uses of RetainableByteBuffer in org.eclipse.jetty.io
Modifier and TypeClassDescriptionclass
Abstract implementation ofRetainableByteBuffer
with reference counting.class
static class
A wrapper forRetainableByteBuffer
instancesModifier and TypeFieldDescriptionstatic final RetainableByteBuffer
RetainableByteBuffer.EMPTY
A Zero-capacity, non-retainableRetainableByteBuffer
.Modifier and TypeMethodDescriptionArrayByteBufferPool.acquire
(int size, boolean direct) ArrayByteBufferPool.Tracking.acquire
(int size, boolean direct) ByteBufferPool.acquire
(int size, boolean direct) Acquires aRetainableByteBuffer
from this pool.ByteBufferPool.NonPooling.acquire
(int size, boolean direct) ByteBufferPool.Sized.acquire()
ByteBufferPool.Wrapper.acquire
(int size, boolean direct) ByteBufferAccumulator.ensureBuffer
(int minAllocationSize) 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) Get the last buffer of the accumulator, this can be written to directly to avoid copying into the accumulator.RetainableByteBuffer.Wrapper.getWrapped()
ChunkAccumulator.take
(ByteBufferPool pool, boolean direct) ByteBufferOutputStream2.takeByteBuffer()
Take the combined buffer containing all content written to the OutputStream.ByteBufferAccumulator.takeRetainableByteBuffer()
Take the combined buffer containing all content written to the accumulator.ByteBufferAggregator.takeRetainableByteBuffer()
Takes the buffer out of the aggregator.ByteBufferOutputStream2.toByteBuffer()
Take the combined buffer containing all content written to the OutputStream.ByteBufferAccumulator.toRetainableByteBuffer()
Take the combined buffer containing all content written to the accumulator.static RetainableByteBuffer
IOResources.toRetainableByteBuffer
(Resource resource, ByteBufferPool bufferPool, boolean direct) Reads the contents of a Resource into a RetainableByteBuffer.static RetainableByteBuffer
RetainableByteBuffer.wrap
(ByteBuffer byteBuffer) Returns a non-retainableRetainableByteBuffer
that wraps the givenByteBuffer
.static RetainableByteBuffer
RetainableByteBuffer.wrap
(ByteBuffer byteBuffer, Retainable retainable) Modifier 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 replacementArrayByteBufferPool.poolFor
(int capacity, boolean direct) 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.Modifier and TypeMethodDescriptionvoid
ByteBufferPool.Accumulator.append
(RetainableByteBuffer buffer) void
ByteBufferPool.Accumulator.insert
(int index, RetainableByteBuffer buffer) boolean
ArrayByteBufferPool.removeAndRelease
(RetainableByteBuffer buffer) default boolean
ByteBufferPool.removeAndRelease
(RetainableByteBuffer buffer) Deprecated.This API is experimental and may be removed in future releases -
Uses of RetainableByteBuffer in org.eclipse.jetty.io.internal