Uses of Interface
org.eclipse.jetty.io.RetainableByteBuffer
Packages that use 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.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 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) Reads, non-blocking, the whole content source into aRetainableByteBuffer.org.eclipse.jetty.util.Pool<RetainableByteBuffer> ArrayByteBufferPool.poolFor(int capacity, boolean direct) ChunkAccumulator.readAll(Content.Source source, ByteBufferPool pool, boolean direct, int maxSize) Methods in org.eclipse.jetty.io with parameters of type RetainableByteBufferModifier and TypeMethodDescriptionvoidByteBufferPool.Accumulator.append(RetainableByteBuffer buffer) voidByteBufferPool.Accumulator.insert(int index, RetainableByteBuffer buffer) protected voidArrayByteBufferPool.removed(RetainableByteBuffer retainedBuffer) Constructors in org.eclipse.jetty.io with parameters of type RetainableByteBuffer