Package io.micronaut.http.body
package io.micronaut.http.body
-
ClassDescriptionThis is an extension of
ByteBodywhen the entire body is immediately available (without waiting).This class represents a stream of bytes from an HTTP connection.Exception that is sent to subscribers when the body is discarded as a result ofByteBody.allowDiscard()calls.This enum controls how backpressure should be handled if one of the two bodies ("downstreams") is consuming data slower than the other.Body writer forCharSequences.Variant ofMessageBodyReaderthat allows piecewise reading of the input, e.g.Combination ofCloseableByteBodyandAvailableByteBody.MessageBodyHandlerRegistryimplementation that does not need an application context.Stores message body readers and writers.Internal extensions ofByteBody.Interface for bodies that provide their own media type.A handler combines a reader and a writer.A registry ofMessageBodyReaderandMessageBodyWriter.An interface that allows reading a message body from the client or the server.An interface that allows writing a message body for the client or the server.Extension toMessageBodyWriterthat is specific to writing the server response body.ResponseBodyWriterimplementation that delegates to aMessageBodyWriter.The body reader forString.The body reader that reads a text/plain string converting it into the argument type.A body handlerMessageBodyHandlerwith a type argument.A body readerMessageBodyReaderwith a type argument.A body writerMessageBodyWriterwith a type argument.Body writer forWritables.