Re: [PROPOSAL] Tomcat 4.0-beta API Change: Valve APIs

2001-01-19 Thread Remy Maucherat
Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>: > THE PROPOSED DESIGN PATTERN: > > This is an adaptation of the pattern that Peter Donald proposed > yesterday, to be > slightly more aligned with the Filter API: > > public interface Valve {<-- similar to javax.servlet.Filter >

[PROPOSAL] Tomcat 4.0-beta API Change: Valve APIs

2001-01-19 Thread Craig R. McClanahan
BACKGROUND: The current API for Valves in Tomcat 4.0 implements the "Chain of Responsibility" design pattern, but does so in a manner that requires individual valves to be aware of each other in order to call the next valve in the chain. (As Peter Donald colorfully puts it, this is the "Subversio