Response response = new Response();
request.setResponse(response);
valve.invoke(request, response);
// StandardHostValve calls request.getSession(false) on way out, so we will too
request.getSession(false);
request.recycle();
}
public static Valve setupPipeline(Manager manager, RequestHandler requestHandler)
{
Pipeline pipeline = manager.getContainer().getPipeline();