Class DynamicMessageBodyWriter

java.lang.Object
io.micronaut.http.body.DynamicMessageBodyWriter
All Implemented Interfaces:
MessageBodyWriter<Object>

@Internal public final class DynamicMessageBodyWriter extends Object implements MessageBodyWriter<Object>
Placeholder MessageBodyWriter implementation that decides which writer to use based on the dynamic (runtime) type of the body. Used as fallback where the type is not known statically.
Since:
4.0.0
Author:
Jonas Konrad