If a problem is detected, then a {@link BadRequestException} is thrown, indicating thestandard HTTP status code, as defined in {@link javax.servlet.http.HttpServletRequest}. (An error message may also be included, if desired.) The response will then be sent immediately, without further processing, using {@link javax.servlet.http.HttpServletResponse#sendError(int)}, or {@link javax.servlet.http.HttpServletResponse#sendError(int,java.lang.String)} if {@link BadRequestException#getErrorMessage()} has content. @param aAction corresponding to this request. If the underlying request is unknown to {@link RequestParser#getWebAction()}, then that method will throw a {@link BadRequestException}, and this method will not be called. @param aRequestParser provides the raw underlying request, through {@link RequestParser#getRequest()};
|
|