Package io.micronaut.http.body
Interface TypedMessageBodyReader<T>
- Type Parameters:
T- The type
- All Superinterfaces:
MessageBodyReader<T>
- All Known Subinterfaces:
TypedMessageBodyHandler<T>
- All Known Implementing Classes:
NettyByteBufMessageBodyHandler,StringBodyReader,TextPlainObjectBodyReader,WritableBodyWriter
A body reader
MessageBodyReader with a type argument.- Since:
- 4.6
- Author:
- Denis Stepanov
-
Method Summary
Methods inherited from interface io.micronaut.http.body.MessageBodyReader
read, read
-
Method Details
-
getType
- Returns:
- The body type.
-
isReadable
Description copied from interface:MessageBodyReaderIs the type readable.- Specified by:
isReadablein interfaceMessageBodyReader<T>- Parameters:
type- The typemediaType- The media type, can benull- Returns:
- True if is readable
-