Uses of Interface
org.eclipse.jetty.io.Content.Chunk
Packages that use Content.Chunk
Package
Description
Jetty IO : Core classes for Jetty IO subsystem
-
Uses of Content.Chunk in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement Content.ChunkFields in org.eclipse.jetty.io declared as Content.ChunkModifier and TypeFieldDescriptionstatic final Content.ChunkContent.Chunk.EMPTYAn empty, non-last, chunk instance.static final Content.ChunkContent.Chunk.EOFAn empty, last, chunk.Methods in org.eclipse.jetty.io that return Content.ChunkModifier and TypeMethodDescriptionstatic Content.ChunkContent.Chunk.asChunk(ByteBuffer byteBuffer, boolean last, Retainable retainable) default Content.ChunkContent.Chunk.asReadOnly()Deprecated, for removal: This API element is subject to removal in a future version.static Content.ChunkCreates anfailure chunkwith the given failure andContent.Chunk.isLast()returning true.static Content.ChunkCreates anfailure chunkwith the given failure and givenlaststate.static Content.ChunkContent.Chunk.from(ByteBuffer byteBuffer, boolean last) Creates a Chunk with the given ByteBuffer.static Content.ChunkContent.Chunk.from(ByteBuffer byteBuffer, boolean last, Runnable releaser) Creates a Chunk with the given ByteBuffer.static Content.ChunkContent.Chunk.from(ByteBuffer byteBuffer, boolean last, Consumer<ByteBuffer> releaser) Creates a last/non-last Chunk with the given ByteBuffer.static Content.ChunkContent.Chunk.from(RetainableByteBuffer buffer, boolean last) Creates a Chunk with the given RetainableByteBufferstatic Content.ChunkContent.Chunk.next(Content.Chunk chunk) Returns the chunk that follows the given chunk.Content.Source.read()Reads a chunk of content.static Content.ChunkContent.Chunk.releaseAndNext(Content.Chunk chunk) Convenience method to release a chunk and returnContent.Chunk.next(Chunk).Methods in org.eclipse.jetty.io that return types with arguments of type Content.ChunkModifier 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, org.eclipse.jetty.util.Callback callback) Wraps the given content sink with aFlow.Subscriber.Methods in org.eclipse.jetty.io with parameters of type Content.ChunkModifier and TypeMethodDescriptionbooleanChunkAccumulator.add(Content.Chunk chunk) Deprecated, for removal: This API element is subject to removal in a future version.Add aContent.Chunkto the accumulator.static booleanContent.Chunk.isFailure(Content.Chunk chunk) static booleanContent.Chunk.isFailure(Content.Chunk chunk, boolean last) static Content.ChunkContent.Chunk.next(Content.Chunk chunk) Returns the chunk that follows the given chunk.booleanContent.Chunk.Processor.process(Content.Chunk chunk, org.eclipse.jetty.util.Callback callback) static Content.ChunkContent.Chunk.releaseAndNext(Content.Chunk chunk) Convenience method to release a chunk and returnContent.Chunk.next(Chunk). -
Uses of Content.Chunk in org.eclipse.jetty.io.content
Classes in org.eclipse.jetty.io.content that implement interfaces with type arguments of type Content.ChunkModifier and TypeClassDescriptionclassAFlow.Subscriberthat wraps aContent.Sink.classWraps aContent.Sourceas aFlow.Publisher.Methods in org.eclipse.jetty.io.content that return Content.ChunkModifier and TypeMethodDescriptionAsyncContent.read()ByteBufferContentSource.read()ChunksContentSource.read()ContentSourceTransformer.read()InputStreamContentSource.read()OutputStreamContentSource.read()PathContentSource.read()protected abstract Content.ChunkContentSourceTransformer.transform(Content.Chunk inputChunk) Transforms the input chunk parameter into an output chunk.Methods in org.eclipse.jetty.io.content that return types with arguments of type Content.ChunkMethods in org.eclipse.jetty.io.content with parameters of type Content.ChunkModifier and TypeMethodDescriptionvoidContentSinkSubscriber.onNext(Content.Chunk chunk) protected abstract XContentSourceCompletableFuture.parse(Content.Chunk chunk) Called byContentSourceCompletableFuture.parse()to parse aContent.Chunk.protected abstract Content.ChunkContentSourceTransformer.transform(Content.Chunk inputChunk) Transforms the input chunk parameter into an output chunk.Method parameters in org.eclipse.jetty.io.content with type arguments of type Content.ChunkModifier and TypeMethodDescriptionvoidContentSourcePublisher.subscribe(Flow.Subscriber<? super Content.Chunk> subscriber) Constructor parameters in org.eclipse.jetty.io.content with type arguments of type Content.Chunk