public int | invoke(org.apache.catalina.Request request, org.apache.catalina.Response response)IASRI 4665318
public void invoke(Request request, Response response,
ValveContext valveContext)
throws IOException, ServletException {
// END OF IASRI 4665318
// Select the Host to be used for this Request
Host host = request.getHost();
if (host == null) {
/* S1AS 4878272
((HttpServletResponse) response.getResponse()).sendError
(HttpServletResponse.SC_BAD_REQUEST,
sm.getString("standardEngine.noHost",
request.getRequest().getServerName()));
*/
// BEGIN S1AS 4878272
((HttpServletResponse) response.getResponse()).sendError
(HttpServletResponse.SC_BAD_REQUEST);
response.setDetailMessage(
sm.getString("standardEngine.noHost",
request.getRequest().getServerName()));
// END S1AS 4878272
// START OF IASRI 4665318
// return;
return END_PIPELINE;
// END OF IASRI 4665318
}
// START OF IASRI 4665318
host.invoke(request, response);
return END_PIPELINE;
// END OF IASRI 4665318
|