Uses of Interface
io.helidon.common.http.DataChunk
-
Uses of DataChunk in io.helidon.common.http
Methods in io.helidon.common.http that return DataChunkModifier and TypeMethodDescriptionstatic DataChunkDataChunk.create(boolean flush, boolean readOnly, Runnable releaseCallback, ByteBuffer... byteBuffers) Creates a reusable byteBuffers chunk.static DataChunkDataChunk.create(boolean flush, boolean readOnly, ByteBuffer... byteBuffers) Creates a reusable data chunk.static DataChunkDataChunk.create(boolean flush, Runnable releaseCallback, ByteBuffer... byteBuffers) Creates a reusable byteBuffers chunk.static DataChunkDataChunk.create(boolean flush, ByteBuffer... byteBuffers) Creates a reusable data chunk.static DataChunkDataChunk.create(byte[] bytes) Creates a simple byte array backed data chunk.static DataChunkDataChunk.create(ByteBuffer byteBuffer) Creates a simpleByteBufferbacked data chunk.static DataChunkDataChunk.create(ByteBuffer... byteBuffers) Creates a data chunk backed by one or more ByteBuffer.default DataChunkDataChunk.duplicate()Makes a copy of this data chunk including its underlyingByteBuffer.Methods in io.helidon.common.http that return types with arguments of type DataChunkModifier and TypeMethodDescriptiondefault Optional<CompletableFuture<DataChunk>>DataChunk.writeFuture()Returns a write future associated with this chunk.Method parameters in io.helidon.common.http with type arguments of type DataChunkModifier and TypeMethodDescriptiondefault CompletionStage<? extends R>Reader.apply(Flow.Publisher<DataChunk> publisher) Deprecated.Transforms a publisher into a completion stage.CompletionStage<? extends R>Reader.apply(Flow.Publisher<DataChunk> publisher, Class<? super R> clazz) Deprecated.Transforms a publisher into a completion stage.default <T extends R>
CompletionStage<? extends T>Reader.applyAndCast(Flow.Publisher<DataChunk> publisher, Class<T> type) Deprecated.Transforms a publisher into a completion stage.voidContent.registerFilter(Function<Flow.Publisher<DataChunk>, Flow.Publisher<DataChunk>> function) Deprecated.voidContent.registerFilter(Function<Flow.Publisher<DataChunk>, Flow.Publisher<DataChunk>> function) Deprecated.since 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerFiltervoidContent.subscribe(Flow.Subscriber<? super DataChunk> subscriber) Deprecated.If possible, adds the given Subscriber to this publisher.default voidDataChunk.writeFuture(CompletableFuture<DataChunk> writeFuture) Set a write future that will complete when data chunk has been written to a connection.
io.helidon.media.common.MessageBodyReaderContext.registerFilter