tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47972] New: Valve invoke wrapper response problem
Date Fri, 09 Oct 2009 13:10:55 GMT

           Summary: Valve invoke wrapper response problem
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

If you try creating a valve that wraps the response object and pass your
response wrapper to the invoke call, eg

getNext().invoke(request, wrappedResponse);

it will be ignored. The invoke method appears to use the response object stored
within the request object instead of using the (2nd) response parameter in the
invoke call.

In order to get my wrapper to be used, I had to add the following


before calling the invoke method eg

getNext().invoke(request, wrappedResponse);

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message