I have defined a rest request Handler like this
@RequestMapping(value="/{userId}", method = RequestMethod.GET, produces = MediaType.APPLICATION_XML)
public @ResponseBody
Domain getUserProfile(@PathVariable
String userId) throws XmlException{
It works like /api/users/abc@xyz.com/ but not /api/users/abc@xyz.com, not able to figure out what exactly is the reason.