Interface ChunkedMessageBodyReader<T>

Type Parameters:
T - The type to read
All Superinterfaces:
MessageBodyReader<T>, io.micronaut.core.order.Ordered

public interface ChunkedMessageBodyReader<T> extends MessageBodyReader<T>
Variant of MessageBodyReader that allows piecewise reading of the input, e.g. for json-stream.
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<T>
    readChunked(io.micronaut.core.type.Argument<T> type, MediaType mediaType, io.micronaut.core.type.Headers httpHeaders, org.reactivestreams.Publisher<io.micronaut.core.io.buffer.ByteBuffer<?>> input)
     

    Methods inherited from interface io.micronaut.http.body.MessageBodyReader

    isReadable, read, read

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Method Details

    • readChunked

      @NonNull org.reactivestreams.Publisher<T> readChunked(@NonNull io.micronaut.core.type.Argument<T> type, @Nullable MediaType mediaType, @NonNull io.micronaut.core.type.Headers httpHeaders, @NonNull org.reactivestreams.Publisher<io.micronaut.core.io.buffer.ByteBuffer<?>> input)