Package io.micronaut.http.body
Interface TypedMessageBodyWriter<T>
- Type Parameters:
- T- The type
- All Superinterfaces:
- MessageBodyWriter<T>
- All Known Subinterfaces:
- TypedMessageBodyHandler<T>
- All Known Implementing Classes:
- CharSequenceBodyWriter,- NettyByteBufMessageBodyHandler,- WritableBodyWriter
A body writer 
MessageBodyWriter with a type argument.- Since:
- 4.6
- Author:
- Denis Stepanov
- 
Method SummaryMethods inherited from interface io.micronaut.http.body.MessageBodyWritercreateSpecific, isBlocking, writeTo, writeTo
- 
Method Details- 
getType- Returns:
- The body type.
 
- 
isWriteableDescription copied from interface:MessageBodyWriterIs the type writeable.- Specified by:
- isWriteablein interface- MessageBodyWriter<T>
- Parameters:
- type- The type
- mediaType- The media type, can be- null
- Returns:
- True if is writable
 
 
-