Uses of Class
org.eclipse.jetty.io.ByteBufferPool.Sized
Packages that use ByteBufferPool.Sized
Package
Description
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
Jetty Server : Core Handler API
-
Uses of ByteBufferPool.Sized in org.eclipse.jetty.client
Constructors in org.eclipse.jetty.client with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionInputStreamRequestContent
(String contentType, InputStream stream, ByteBufferPool.Sized bufferPool) PathRequestContent
(String contentType, Path filePath, ByteBufferPool.Sized sizedBufferPool) -
Uses of ByteBufferPool.Sized in org.eclipse.jetty.http
Methods in org.eclipse.jetty.http with parameters of type ByteBufferPool.SizedModifier and TypeMethodDescriptionMultiPart.ByteBufferPart.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) MultiPart.ChunksPart.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) MultiPart.ContentSourcePart.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) MultiPart.Part.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) Creates a newContent.Source
.MultiPart.PathPart.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) MultiPartByteRanges.Part.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) Constructors in org.eclipse.jetty.http with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionPart
(ByteBufferPool.Sized bufferPool, long first, long length, String name, String fileName, HttpFields fields) Part
(ByteBufferPool.Sized bufferPool, String name, String fileName, HttpFields fields) Part
(String contentType, Resource resource, ByteRange byteRange, long contentLength, ByteBufferPool.Sized bufferPool) Part
(HttpFields headers, Resource resource, ByteRange byteRange, ByteBufferPool.Sized bufferPool) PathPart
(ByteBufferPool.Sized bufferPool, long offset, long length, String name, String fileName, HttpFields fields, Path path) PathPart
(ByteBufferPool.Sized bufferPool, String name, String fileName, HttpFields fields, Path path) -
Uses of ByteBufferPool.Sized in org.eclipse.jetty.http.content
Constructors in org.eclipse.jetty.http.content with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionCachingHttpContentFactory
(HttpContent.Factory authority, ByteBufferPool.Sized bufferPool) ResourceHttpContent
(Resource resource, String contentType, ByteBufferPool.Sized sizedByteBufferPool) ResourceHttpContentFactory
(Resource baseResource, MimeTypes mimeTypes, ByteBufferPool.Sized sizedBufferPool) ValidatingCachingHttpContentFactory
(HttpContent.Factory authority, long validationPeriod, ByteBufferPool.Sized bufferPool) Construct aValidatingCachingHttpContentFactory
which validates entries upon use to check if they are still valid.ValidatingCachingHttpContentFactory
(HttpContent.Factory authority, long validationPeriod, ByteBufferPool.Sized bufferPool, Scheduler scheduler, long sweepPeriod, long idleTimeout) Construct aValidatingCachingHttpContentFactory
which validates entries upon use to check if they are still valid and an optional period sweeper of the cache to find invalid and old entries to evict.VirtualHttpContentFactory
(HttpContent.Factory factory, Resource resource, String contentType, ByteBufferPool.Sized sizedBufferPool) -
Uses of ByteBufferPool.Sized in org.eclipse.jetty.io
Fields in org.eclipse.jetty.io declared as ByteBufferPool.SizedModifier and TypeFieldDescriptionstatic final ByteBufferPool.Sized
ByteBufferPool.SIZED_NON_POOLING
Methods in org.eclipse.jetty.io with parameters of type ByteBufferPool.SizedModifier and TypeMethodDescriptionstatic Content.Source
IOResources.asContentSource
(Resource resource, ByteBufferPool.Sized bufferPool, long offset, long length) Gets aContent.Source
with a range of the contents of a resource.static void
IOResources.copy
(Resource resource, Content.Sink sink, ByteBufferPool.Sized bufferPool, long offset, long length, Callback callback) Performs an asynchronous copy of a subset of the contents of a resource to a sink, using the given buffer pool and buffer characteristics.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, InputStream inputStream) Create aContent.Source
from anInputStream
.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, InputStream inputStream, long offset, long length) Create aContent.Source
from anInputStream
.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, ByteChannel byteChannel) Create aContent.Source
from aByteChannel
.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, SeekableByteChannel seekableByteChannel, long offset, long length) Create aContent.Source
from aByteChannel
.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, Path path) Create aContent.Source
from aPath
.static Content.Source
Content.Source.from
(ByteBufferPool.Sized byteBufferPool, Path path, long offset, long length) Create aContent.Source
from aPath
.Content.Source.Factory.newContentSource
(ByteBufferPool.Sized bufferPool, long offset, long length) Creates a newContent.Source
.static RetainableByteBuffer
IOResources.toRetainableByteBuffer
(Resource resource, ByteBufferPool.Sized bufferPool) Reads the contents of a Resource into a RetainableByteBuffer.Constructors in org.eclipse.jetty.io with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionDynamicCapacity
(ByteBufferPool.Sized sizedPool) DynamicCapacity
(ByteBufferPool.Sized sizedPool, long maxSize) DynamicCapacity
(ByteBufferPool.Sized sizedPool, long maxSize, int minRetainSize) -
Uses of ByteBufferPool.Sized in org.eclipse.jetty.io.content
Constructors in org.eclipse.jetty.io.content with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionBufferedContentSink
(Content.Sink delegate, ByteBufferPool.Sized sizedPool, int maxBufferSize) InputStreamContentSource
(InputStream inputStream, ByteBufferPool.Sized bufferPool) InputStreamContentSource
(InputStream inputStream, ByteBufferPool.Sized bufferPool, long offset, long length) PathContentSource
(Path path, ByteBufferPool.Sized sizedBufferPool) -
Uses of ByteBufferPool.Sized in org.eclipse.jetty.server.handler
Methods in org.eclipse.jetty.server.handler with parameters of type ByteBufferPool.SizedModifier and TypeMethodDescriptionprotected HttpContent.Factory
ResourceHandler.newHttpContentFactory
(ByteBufferPool.Sized byteBufferPool) Constructors in org.eclipse.jetty.server.handler with parameters of type ByteBufferPool.SizedModifierConstructorDescriptionResourceHandler
(Handler handler, ByteBufferPool.Sized byteBufferPool)