public final void invokeNext(Request request,
Response response) throws IOException, ServletException {
/** STARTS OF PE 4665318
int subscript = stage;
stage = stage + 1;
// Invoke the requested Valve for the current request thread
if (subscript < valves.length) {
valves[subscript].invoke(request, response, this);
} else if ((subscript == valves.length) && (basic != null)) {
basic.invoke(request, response, this);
} else {
throw new ServletException
(sm.getString("standardPipeline.noValve"));
}
*/
// END OF PE 4665318
}
Cause the invoke() method of the next Valve that is
part of the Pipeline currently being processed (if any) to be
executed, passing on the specified request and response objects
plus this ValveContext instance. Exceptions thrown by
a subsequently executed Valve (or a Filter or Servlet at the
application level) will be passed on to our caller.
If there are no more Valves to be executed, an appropriate
ServletException will be thrown by this ValveContext. |