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.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]