Package io.micronaut.http.body
Interface InternalByteBody
- All Superinterfaces:
ByteBody
- All Known Implementing Classes:
AvailableNettyByteBody
,NettyByteBody
,StreamingNettyByteBody
Internal extensions of
ByteBody
.- Since:
- 4.5.0
- Author:
- Jonas Konrad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.http.body.ByteBody
ByteBody.BodyDiscardedException, ByteBody.SplitBackpressureMode
-
Method Summary
Modifier and TypeMethodDescription@NonNull ExecutionFlow<? extends CloseableAvailableByteBody>
Variant ofByteBody.buffer()
that uses theExecutionFlow
API for extra efficiency.static ExecutionFlow<? extends CloseableAvailableByteBody>
bufferFlow
(ByteBody body) Methods inherited from interface io.micronaut.http.body.ByteBody
allowDiscard, buffer, expectedLength, split, split, toByteArrayPublisher, toByteBufferPublisher, toInputStream
-
Method Details
-
bufferFlow
Variant ofByteBody.buffer()
that uses theExecutionFlow
API for extra efficiency.- Returns:
- A flow that completes when all bytes are available
-
bufferFlow
-