Interface InternalByteBody

All Superinterfaces:
ByteBody

@Internal public interface InternalByteBody extends ByteBody
Internal extensions of ByteBody.
Since:
4.5.0
  • Method Details

    • bufferFlow

      @NonNull @NonNull io.micronaut.core.execution.ExecutionFlow<? extends CloseableAvailableByteBody> bufferFlow()
      Variant of ByteBody.buffer() that uses the ExecutionFlow API for extra efficiency.
      Returns:
      A flow that completes when all bytes are available
    • bufferFlow

      static io.micronaut.core.execution.ExecutionFlow<? extends CloseableAvailableByteBody> bufferFlow(ByteBody body)