Can someone please tell me why my email address is getting cut.. for testing we use email address like test@aol.com.dev
I have the following code:
@RequestMapping(value = "/profilenumber/{email}", method = RequestMethod.GET)
@ResponseBody
public ResponseEntity<String> getProfileNumber(@PathVariable String email, ModelMap model) throws ResourceNotFoundException
{
logger.debug("Looking for Profile Number for: " + email);
}
The output of my logger.debug is test@aol.com we are losing the .dev which we need. Can someone please tell me why we would be losing it
Java have this in my WebConfig but it does not help
@Bean
public DefaultAnnotationHandlerMapping defaultAnnotationHandlerMapping ()
{
DefaultAnnotationHandlerMapping b = new DefaultAnnotationHandlerMapping();
b.setUseDefaultSuffixPattern(false);
return b;
}