[Prev][Next][Index][Thread]
Jigsaw Filters
Hi!
I'm using Jigsaw 1.0 beta to do some testing and I would like
to make Jigsaw work like a proxy and insert filters which
intercept incoming requests and their replies, like so:
Client ---(GET)-----> Jigsaw ---(GET')---> OriginServer
| /|\
\|/ |
My REQUEST Filter
Client <--(REPLY')--- Jigsaw <---(REPLY)-- OriginServer
/|\ |
| \|/
My REPLY Filter
I see how to setup my own error filter for intercepting the replies,
similar to the ErrorFilter which comes with the source distribution.
How would I go about inserting a filter which gets instantiated
when a GET request is received? What format would such a filter
follow, i.e. what class would I be specializing? Maybe what I'm
looking for isn't a filter, but something else??
Thanks!
-- Jake
+-----------------------------------------------------+ \||/
| Jacob W. Anderson | | @___oo
| GTE Internetworking, Powered by BBN | / (__,,,,|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|^\/ _)
|EMail: jwanders@bbn.com | 9655 Granite Ridge Dr. |/ _)
|Voice: 619-495-2638 | Suite 245 | / _)
| Fax: 619-495-7313 | San Diego, CA, 92123 | | )_)
+------------------------------------------< >-------(,,) )__)
"My code doesn't have bugs, || / \)___)\
it develops random features." | \____( )___) )___
\______(_______;;; __;;;
Follow-Ups: