novie-core/src/main/java/com/groupon/novie/internal/controllers/ApiController.java
@RequestMapping(value = {"/{schema:[^\\.]+}", "/{schema}.json"}, produces = "application/json", headers = {"Accept=application/json"})
    @ResponseBody
    public Report processJsonRequest(@PathVariable String schema, HttpServletRequest request) throws ServiceException, InvalidParameterException,
            InvalidSchemaException {
        LOG.info("Processing JSON request for parameters " + request.getQueryString());
        return processRequest(schema, request);
    }
@RequestMapping(value = {"/{schema:[^\\.]+}", "/{schema}.json"}, produces = "application/json", headers = {"Accept=application/json"})
    @ResponseBody
    public Report processJsonRequest(@PathVariable String schema, HttpServletRequest request) throws ServiceException, InvalidParameterException,
            InvalidSchemaException {
        LOG.info("Processing JSON request for parameters " + request.getQueryString());
        return processRequest(schema, request);
    }
@ RequestMapping ( value = { "/{schema:[^\\.]+}" , "/{schema}.json" } , produces = "application/json" , headers = { "Accept=application/json" } ) @ ResponseBody public Report processJsonRequest ( @ PathVariable String schema , HttpServletRequest request ) throws ServiceException , InvalidParameterException , InvalidSchemaException { LOG . info ( "Processing JSON request for parameters " + request . getQueryString ( ) ) ; return processRequest ( schema , request ) ; }
<p>
Handles requests that accept application/json.
</p>
<p > Handles requests that accept application / json . < / p >