responseFormats

Purpose

Examples

Description

The responseFormats property is used to define the response formats supported by a controller and in turn used by the respond method. The respond method uses Content Negotiation to respond with the most appropriate content type. See the documentation on REST support for more information.

Plug-ins

Services

Servlet API

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.