users@glassfish.java.net

Re: Migrate custom Valve from Tomcat 5.0/5.5

From: <glassfish_at_javadesktop.org>
Date: Mon, 31 Mar 2008 17:47:44 PST

From above:

- Replace "getNext().invoke(request, response);" with "return Valve.INVOKE_NEXT;"

ADD: [...] and move any code that follows (i.e., any valve logic that is executed "on the way out") to this method:

public void postInvoke(Request request, Response response) throws IOException, ServletException;
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=266964