Interface MessageBodyWriter<T>

Type Parameters:
T - The generic type.
All Known Subinterfaces:
MessageBodyHandler<T>, NettyBodyWriter<T>, RawMessageBodyHandler<T>
All Known Implementing Classes:
ByteBufRawMessageBodyHandler, CharSequenceBodyWriter, DynamicMessageBodyWriter, FileBodyWriter, InputStreamBodyWriter, JsonMessageHandler, NettyJsonHandler, NettyJsonStreamHandler, NettyWritableBodyWriter, StreamFileBodyWriter, SystemFileBodyWriter, TextPlainHandler, WritableBodyWriter

@Indexed(MessageBodyWriter.class) public interface MessageBodyWriter<T>
An interface that allows writing a message body for the client or the server.

Implementors can define beans that use Produces to restrict the applicable content types.

Use Order to specify the precedence of the writer with lower order corresponding to higher precedence.

Since:
4.0.0
See Also: