uCosminexus Application Server, Web Service Development Guide
This subsection describes the annotations for declaring the media types, supported by the JAX-RS engine.
The javax.ws.rs.Consumes annotation specifies a list of MIME media types supported by a Web resource in an HTTP request. You can use the javax.ws.rs.Consumes annotation in:
The javax.ws.rs.Consumes annotation is ignored if used in the exception mapping provider.
The javax.ws.rs.Produces annotation specifies a list of MIME media types supported by a Web resource in an HTTP response. You can use the javax.ws.rs.Produces annotation in:
The javax.ws.rs.Produces annotation is ignored if used in the exception mapping provider.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.