Given a controller class that already has a class level @RequestMapping, when it defines a content type (e.g. produces = {"application/json"}, it is not honored.
@ExposesResourceFor(UserGroupResource.class)
@RequestMapping(value = "/userGroups", produces = {"application/json"})
public class UserGroupController {
Given a controller class that already has a class level
@RequestMapping
, when it defines a content type (e.g.produces = {"application/json"}
, it is not honored.Haven't tested with
consumes
though.