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
,NettyWritableBodyWriter
,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:MessageBodyReader
Is the type readable.- Specified by:
isReadable
in interfaceMessageBodyReader<T>
- Parameters:
type
- The typemediaType
- The media type, can benull
- Returns:
- True if is readable
-