Uses of Interface
io.helidon.http.DataChunk
Packages that use DataChunk
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
-
Uses of DataChunk in io.helidon.http
Methods in io.helidon.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.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.http with type arguments of type DataChunkModifier and TypeMethodDescriptiondefault voidDataChunk.writeFuture(CompletableFuture<DataChunk> writeFuture) Set a write future that will complete when data chunk has been written to a connection.