class RestController {

    @RequestMapping(value = BLOCKFACE_URI, method = RequestMethod.GET)
    public @ResponseBody
    Map<String, Object> blockface(@RequestParam String onStreet, @RequestParam String crossStreetOne,
            @RequestParam String crossStreetTwo, @RequestParam String borough,
            @RequestParam(required = false) String boroughCrossStreetOne,
            @RequestParam(required = false) String boroughCrossStreetTwo,
            @RequestParam(required = false) String compassDirection)
    {
        logger.debug(
                "blockface[onStreet='{}',crossStreetOne='{}', crossStreetTwo='{}', borough='{}', boroughCrossStreetOne='{}', boroughCrossStreetTwo='{}', compassDirection='{}']",
                onStreet, crossStreetOne, crossStreetTwo, borough, boroughCrossStreetOne, boroughCrossStreetTwo,
                compassDirection);
        Map<String, Object> blockfaceMap = new HashMap<String, Object>();
        blockfaceMap.put(BLOCKFACE_OBJ, this.geosupportService.callFunction3(onStreet, borough, crossStreetOne,
                boroughCrossStreetOne, crossStreetTwo, boroughCrossStreetTwo, compassDirection));
        return blockfaceMap;
    }

}