What do you mean? It would be separate methods that only differ by the content-type (the `consumes` option to `@RequestMapping`).