I am not really an AOP expert.
The problem is even if AOP proxies my method:
@Path("accounts/get")
public Account getAccount(
@QueryParam("id")
@InvalidFormatError(12)
@RequiredParamError(21) Long id
) {
return accountService.getAccount(id);
}
It is already too late for me. How can I determine if the parameter from
Request (which is a string via HttpServletRequest.getParam) is numeric?
Jersey framework will throw http Status 404 if the parameter is not numeric.
--
View this message in context: http://jersey.576304.n2.nabble.com/Invalid-Parameter-Format-tp6698976p6715485.html
Sent from the Jersey mailing list archive at Nabble.com.