Uses of Interface
io.helidon.common.http.DataChunk
-
-
Uses of DataChunk in io.helidon.common.http
Methods in io.helidon.common.http that return DataChunk Modifier and Type Method Description static DataChunkDataChunk. create(boolean flush, ByteBuffer data)Creates a reusable data chunk.static DataChunkDataChunk. create(boolean flush, ByteBuffer data, boolean readOnly)Creates a reusable data chunk.static DataChunkDataChunk. create(boolean flush, ByteBuffer data, Runnable releaseCallback)Creates a reusable data chunk.static DataChunkDataChunk. create(boolean flush, ByteBuffer data, Runnable releaseCallback, boolean readOnly)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.default DataChunkDataChunk. duplicate()Makes a copy of this data chunk including its underlyingByteBuffer.Method parameters in io.helidon.common.http with type arguments of type DataChunk Modifier and Type Method Description default CompletionStage<? extends R>Reader. apply(Flow.Publisher<DataChunk> publisher)Transforms a publisher into a completion stage.CompletionStage<? extends R>Reader. apply(Flow.Publisher<DataChunk> publisher, Class<? super R> clazz)Transforms a publisher into a completion stage.default <T extends R>
CompletionStage<? extends T>Reader. applyAndCast(Flow.Publisher<DataChunk> publisher, Class<T> type)Transforms a publisher into a completion stage.voidContent. registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)Registers a filter that allows a control of the original publisher.voidContent. registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)Registers a filter that allows a control of the original publisher.voidContent. subscribe(Flow.Subscriber<? super DataChunk> subscriber)If possible, adds the given Subscriber to this publisher.
-