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.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 RetainableByteBufferIOResources.toRetainableByteBuffer(org.eclipse.jetty.util.resource.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 replacementorg.eclipse.jetty.util.Pool<RetainableByteBuffer> ArrayByteBufferPool.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