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.PlaceholderMessageBodyWriterimplementation that decides which writer to use based on the dynamic (runtime) type of the body.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.A body handler that is responsible for "raw" writing/reading, i.e.Body handler for content type "text/plain".Body writer forWritables.