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.client
Methods in org.eclipse.jetty.client that return RetainableByteBufferModifier and TypeMethodDescriptionContentDecoder.decode(ByteBuffer buffer) Decodes the bytes in the givenbufferand returns the decoded bytes.Methods in org.eclipse.jetty.client with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionprotected booleanGZIPContentDecoder.decodedChunk(RetainableByteBuffer chunk) -
Uses of RetainableByteBuffer in org.eclipse.jetty.http
Methods 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 booleanGZIPContentDecoder.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 RetainableByteBufferFrameGenerator.encode(HpackEncoder encoder, MetaData metaData) protected RetainableByteBufferFrameGenerator.generateHeader(FrameType frameType, int length, int flags, int streamId) -
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
Classes in org.eclipse.jetty.io that implement RetainableByteBufferModifier and TypeClassDescriptionclassAbstract implementation ofRetainableByteBufferwith reference counting.classstatic classA wrapper forRetainableByteBufferinstancesFields in org.eclipse.jetty.io declared as RetainableByteBufferModifier and TypeFieldDescriptionstatic final RetainableByteBufferRetainableByteBuffer.EMPTYA Zero-capacity, non-retainableRetainableByteBuffer.Methods in org.eclipse.jetty.io that return RetainableByteBufferModifier and TypeMethodDescriptionArrayByteBufferPool.acquire(int size, boolean direct) ArrayByteBufferPool.Tracking.acquire(int size, boolean direct) ByteBufferPool.acquire(int size, boolean direct) Acquires aRetainableByteBufferfrom this pool.ByteBufferPool.NonPooling.acquire(int size, boolean direct) ByteBufferPool.Sized.acquire()ByteBufferPool.Sized.acquire(boolean direct) ByteBufferPool.Sized.acquire(int size) 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 RetainableByteBufferIOResources.toRetainableByteBuffer(Resource resource, ByteBufferPool bufferPool, boolean direct) Reads the contents of a Resource into a RetainableByteBuffer.static RetainableByteBufferRetainableByteBuffer.wrap(ByteBuffer byteBuffer) Returns a non-retainableRetainableByteBufferthat wraps the givenByteBuffer.static RetainableByteBufferRetainableByteBuffer.wrap(ByteBuffer byteBuffer, Retainable retainable) 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 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.Methods in org.eclipse.jetty.io with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionvoidByteBufferPool.Accumulator.append(RetainableByteBuffer buffer) voidByteBufferPool.Accumulator.insert(int index, RetainableByteBuffer buffer) booleanArrayByteBufferPool.removeAndRelease(RetainableByteBuffer buffer) default booleanByteBufferPool.removeAndRelease(RetainableByteBuffer buffer) Deprecated.This API is experimental and may be removed in future releasesConstructors in org.eclipse.jetty.io with parameters of type RetainableByteBuffer