tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <>
Subject Re: Rewrite features
Date Thu, 03 Nov 2005 17:10:27 GMT
Yoav Shapira wrote:
> Hi,
> Cool, I like it.  Two questions:
> - Why the RewriteMap interface?  It does seem to add much over a normal Map,
> and I doubt you're targeting JDK 1.1 compatibility ;)

It's not a map (at least not a Java map). mod_rewrite calls the 
directive RewriteMap.

> - Seems like this could be easily done as a Filter instead of Valve.  The
> lifecycle support would be a bit different, start -> init, stop -> destroy,
> etc, but otherwise it doesn't seem like a stretch...

A filter would not work. Doing it this way will (eventually) be a lot 
more efficient.


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

View raw message