Interface MessageBodyReader<T>

Type Parameters:
T - The generic type.
All Known Subinterfaces:
ChunkedMessageBodyReader<T>, MessageBodyHandler<T>, TypedMessageBodyHandler<T>, TypedMessageBodyReader<T>
All Known Implementing Classes:
JsonMessageHandler, NettyByteBufMessageBodyHandler, NettyJsonHandler, NettyJsonStreamHandler, NettyWritableBodyWriter, StringBodyReader, TextPlainObjectBodyReader, WritableBodyWriter

@Indexed(MessageBodyReader.class) public interface MessageBodyReader<T>
An interface that allows reading a message body from the client or the server.

Implementors can defined beans that are annotated with Consumes to restrict the applicable content types.

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

Since:
4.0.0
See Also: