@RequestMapping(value = "/api/method/{methodIdentifier:.+}", method = RequestMethod.GET)
    public
    @ResponseBody
    HashMap<String, Object> getPathsForProfile(Model model,
                                               @PathVariable String methodIdentifier) throws Exception {
        Integer overrideId = ControllerUtils.convertOverrideIdentifier(methodIdentifier);

        com.groupon.odo.proxylib.models.Method method = null;
        try {
            method = pathOverrideService.getMethodForOverrideId(overrideId);
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        HashMap<String, Object> returnMap = new HashMap<String, Object>();
        returnMap.put("method", method);
        return returnMap;
    }
@ RequestMapping ( value = "/api/method/{methodIdentifier:.+}" , method = RequestMethod . GET ) public @ ResponseBody HashMap < String , Object > getPathsForProfile ( Model model , @ PathVariable String methodIdentifier ) throws Exception { Integer overrideId = ControllerUtils . convertOverrideIdentifier ( methodIdentifier ) ; com . groupon . odo . proxylib . models . Method method = null ; try { method = pathOverrideService . getMethodForOverrideId ( overrideId ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } HashMap < String , Object > returnMap = new HashMap < String , Object > ( ) ; returnMap . put ( "method" , method ) ; return returnMap ; }
Return method information for a method override id

@param model
@param methodIdentifier
@return