class RestController {

    @RequestMapping(value = PLACE_URI, method = RequestMethod.GET)
    public @ResponseBody
    Map<String, Object> place(
            @RequestParam String name,
            @RequestParam(required = false) String borough,
            @RequestParam(required = false) String zip) throws Exception
    {
        logger.debug("place[name='{}', borough='{}', zip='{}']", name, borough,zip);
        if (borough == null && zip == null)
        {
            throw new MissingAnyOfOptionalServletRequestParametersException("borough", "zip");
        }
        Map<String, Object> placeMap = new HashMap<String, Object>();
        placeMap.put(PLACE_OBJ, this.geosupportService.callFunction1B(null, name, borough, zip));
        return placeMap;
    }

}