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 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)  - 
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 interfaceA chunk of content indicating whether it is the last chunk.static interfaceExtendedRetainableByteBufferAPI with mutator methods.Classes in org.eclipse.jetty.io that implement RetainableByteBufferModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.classstatic classAn empty chunk implementation.static classAn abstract implementation ofRetainableByteBufferthat provides the basicRetainablefunctionalitystatic classAnRetainableByteBuffer.MutableRetainableByteBufferthat can grow its capacity, backed by a chain ofByteBuffer, which may grow either by aggregation and/or retention.static classARetainableByteBufferthat is empty and not retainable.static classstatic classARetainableByteBuffer.FixedCapacitybuffer that is neither poolable norretainable.static classApooledbuffer that knows the pool from which it was allocated.static 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 TypeMethodDescriptiondefault RetainableByteBufferRetainableByteBuffer.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 RetainableByteBufferRetainableByteBuffer.slice()Get a slice of the buffer.default RetainableByteBufferRetainableByteBuffer.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 RetainableByteBufferRetainableByteBuffer.take()Take the contents of this buffer, leaving it clear.default RetainableByteBufferRetainableByteBuffer.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 RetainableByteBufferRetainableByteBuffer.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 RetainableByteBufferIOResources.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 passedRetainableByteBufferto this buffer, growing this buffer if necessary and possible.RetainableByteBuffer.Wrapper.add(RetainableByteBuffer bytes) voidByteBufferPool.Accumulator.append(RetainableByteBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.booleanRetainableByteBuffer.DynamicCapacity.append(RetainableByteBuffer retainableBytes) booleanRetainableByteBuffer.FixedCapacity.append(RetainableByteBuffer bytes) booleanRetainableByteBuffer.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.booleanRetainableByteBuffer.Wrapper.append(RetainableByteBuffer bytes) default booleanRetainableByteBuffer.appendTo(RetainableByteBuffer buffer) Appends and consumes the contents of this buffer to the passed buffer, limited by the capacity of the target buffer.booleanRetainableByteBuffer.DynamicCapacity.appendTo(RetainableByteBuffer to) booleanRetainableByteBuffer.Wrapper.appendTo(RetainableByteBuffer buffer) voidByteBufferPool.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 voidContent.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