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
,NettyWritableBodyWriter
,WritableBodyWriter
A body writer
MessageBodyWriter
with a type argument.- Since:
- 4.6
- Author:
- Denis Stepanov
-
Method Summary
Methods inherited from interface io.micronaut.http.body.MessageBodyWriter
createSpecific, isBlocking, writeTo, writeTo
-
Method Details
-
getType
- Returns:
- The body type.
-
isWriteable
Description copied from interface:MessageBodyWriter
Is the type writeable.- Specified by:
isWriteable
in interfaceMessageBodyWriter<T>
- Parameters:
type
- The typemediaType
- The media type, can benull
- Returns:
- True if is writable
-