W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1997

Jigsaw Filters

From: Jacob W Anderson <jwanders@BBN.COM>
Date: Fri, 26 Sep 1997 16:09:55 -0700
Message-ID: <342C40C3.2C86BD69@bbn.com>
To: www-jigsaw@w3.org
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."     | \____(      )___) )___
                                             \______(_______;;; __;;;
Received on Friday, 26 September 1997 19:15:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT