Uses of Interface
org.eclipse.jetty.io.Content.Chunk
Package
Description
Jetty Proxy : Async Proxy Support
Jetty Server : Modular Servlet Integration
Jetty Http : Tools for Http processing
Jetty IO : Core classes for Jetty IO subsystem
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
-
Uses of Content.Chunk in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionvoid
InputStreamResponseListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) void
Response.AsyncContentListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) Callback method invoked when the response content has been received, parsed and there is demand.default void
Response.ContentListener.onContent
(Response response, Content.Chunk chunk, Runnable demander) -
Uses of Content.Chunk in org.eclipse.jetty.client.transport
Modifier and TypeMethodDescriptionprotected abstract Content.Chunk
HttpReceiver.read
(boolean fillInterestIfNeeded) Reads a chunk of data. -
Uses of Content.Chunk in org.eclipse.jetty.client.transport.internal
-
Uses of Content.Chunk in org.eclipse.jetty.ee10.proxy
Modifier and TypeMethodDescriptionvoid
AsyncMiddleManServlet.ProxyResponseListener.onContent
(Response serverResponse, Content.Chunk chunk, Runnable demander) void
ProxyServlet.ProxyResponseListener.onContent
(Response proxyResponse, Content.Chunk chunk, Runnable demander) -
Uses of Content.Chunk in org.eclipse.jetty.ee10.servlet
Modifier and TypeMethodDescriptionContentProducer.nextChunk()
Get the next content chunk that can be read from or that describes the terminal condition that was reached (error, eof).ServletCoreRequest.read()
Modifier and TypeMethodDescriptionvoid
ContentProducer.reclaim
(Content.Chunk chunk) Free up the content by callingRetainable.release()
on it and updating this instance's internal state. -
Uses of Content.Chunk in org.eclipse.jetty.fcgi.client.transport.internal
Modifier and TypeMethodDescriptionprotected void
HttpChannelOverFCGI.content
(Content.Chunk chunk) -
Uses of Content.Chunk in org.eclipse.jetty.fcgi.server.internal
-
Uses of Content.Chunk in org.eclipse.jetty.http
Modifier and TypeMethodDescriptionMultiPart.AbstractContentSource.read()
MultiPartByteRanges.PathContentSource.read()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptiondefault void
MultiPart.Parser.Listener.onPartContent
(Content.Chunk chunk) Callback method invoked when a part contentChunk
has been parsed.void
MultiPart.Parser.parse
(Content.Chunk chunk) Parses the multipart/form-data bytes contained in the givenContent.Chunk
.ModifierConstructorDescriptionChunksPart
(String name, String fileName, HttpFields fields, List<Content.Chunk> content) -
Uses of Content.Chunk in org.eclipse.jetty.http2.client.transport.internal
-
Uses of Content.Chunk in org.eclipse.jetty.http2.server.internal
-
Uses of Content.Chunk in org.eclipse.jetty.io
Modifier and TypeFieldDescriptionstatic final Content.Chunk
Content.Chunk.EMPTY
An empty, non-last, chunk.static final Content.Chunk
Content.Chunk.EOF
An empty, last, chunk.Modifier and TypeMethodDescriptionstatic Content.Chunk
Content.Chunk.asChunk
(ByteBuffer byteBuffer, boolean last, Retainable retainable) default Content.Chunk
Content.Chunk.asReadOnly()
static Content.Chunk
Creates anfailure chunk
with the given failure andisLast()
returning true.static Content.Chunk
Creates anfailure chunk
with the given failure and givenlast
state.static Content.Chunk
Content.Chunk.from
(ByteBuffer byteBuffer, boolean last) Creates a Chunk with the given ByteBuffer.static Content.Chunk
Content.Chunk.from
(ByteBuffer byteBuffer, boolean last, Runnable releaser) Creates a Chunk with the given ByteBuffer.static Content.Chunk
Content.Chunk.from
(ByteBuffer byteBuffer, boolean last, Consumer<ByteBuffer> releaser) Creates a last/non-last Chunk with the given ByteBuffer.static Content.Chunk
Content.Chunk.next
(Content.Chunk chunk) Returns the chunk that follows the given chunk.Content.Source.read()
Reads a chunk of content.Modifier and TypeMethodDescriptionstatic Flow.Publisher<Content.Chunk>
Content.Source.asPublisher
(Content.Source source) Wraps the given content source with aFlow.Publisher
.static Flow.Subscriber<Content.Chunk>
Content.Sink.asSubscriber
(Content.Sink sink, Callback callback) Wraps the given content sink with aFlow.Subscriber
.Modifier and TypeMethodDescriptionboolean
ChunkAccumulator.add
(Content.Chunk chunk) Add aContent.Chunk
to the accumulator.static boolean
Content.Chunk.isFailure
(Content.Chunk chunk) static boolean
Content.Chunk.isFailure
(Content.Chunk chunk, boolean last) static Content.Chunk
Content.Chunk.next
(Content.Chunk chunk) Returns the chunk that follows the given chunk.boolean
Content.Chunk.Processor.process
(Content.Chunk chunk, Callback callback) -
Uses of Content.Chunk in org.eclipse.jetty.io.content
Modifier and TypeMethodDescriptionAsyncContent.read()
ByteBufferContentSource.read()
ChunksContentSource.read()
ContentSourceTransformer.read()
InputStreamContentSource.read()
OutputStreamContentSource.read()
PathContentSource.read()
protected abstract Content.Chunk
ContentSourceTransformer.transform
(Content.Chunk inputChunk) Transforms the input chunk parameter into an output chunk.Modifier and TypeMethodDescriptionvoid
ContentSinkSubscriber.onNext
(Content.Chunk chunk) protected abstract X
ContentSourceCompletableFuture.parse
(Content.Chunk chunk) Called byContentSourceCompletableFuture.parse()
to parse aContent.Chunk
.protected abstract Content.Chunk
ContentSourceTransformer.transform
(Content.Chunk inputChunk) Transforms the input chunk parameter into an output chunk.Modifier and TypeMethodDescriptionvoid
ContentSourcePublisher.subscribe
(Flow.Subscriber<? super Content.Chunk> subscriber) -
Uses of Content.Chunk in org.eclipse.jetty.io.internal
Modifier and TypeClassDescriptionclass
static class
static class
static class
static class
Modifier and TypeMethodDescriptionprotected void
ByteChannelContentSource.lockedSetTerminal
(Content.Chunk terminal) -
Uses of Content.Chunk in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionvoid
ProxyHandler.ProxyResponseListener.onContent
(Response serverToProxyResponse, Content.Chunk serverToProxyChunk, Runnable serverToProxyDemander) -
Uses of Content.Chunk in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionHttpStream.read()
Reads a chunk of content, with the same semantic asContent.Source.read()
.HttpStream.Wrapper.read()
Request.read()
Reads a chunk of content.Request.Wrapper.read()
-
Uses of Content.Chunk in org.eclipse.jetty.server.handler
Modifier and TypeMethodDescriptionErrorHandler.ErrorRequest.read()
StatisticsHandler.MinimumDataRateHandler.MinimumDataRateRequest.read()
Modifier and TypeMethodDescriptionprotected void
EventsHandler.onRequestRead
(Request request, Content.Chunk chunk) Invoked every time a request content chunk has been parsed, just before making it available to the application (i.e.protected void
StatisticsHandler.onRequestRead
(Request request, Content.Chunk chunk) -
Uses of Content.Chunk in org.eclipse.jetty.server.handler.gzip
-
Uses of Content.Chunk in org.eclipse.jetty.server.internal