MessageBodyWriter
implementation, annotate the implementation class with @Provider
. A MessageBodyWriter
implementation may be annotated with {@link javax.ws.rs.Produces} to restrict the media types for which it willbe considered suitable.
@param T the type that can be written
@see Provider
@see javax.ws.rs.Produces
|
|
|
|