On Wed, 1 Sep 1999, Dan Hansen wrote:
> Can one proxy off an extension?
> Meaning, can I specify that all files ending in .foo should be proxied using
> a class extending the ProxyFrame?
> I'm going to play around with adding a .foo extension to the default indexer
> then attaching a FooFileResource (extends FileResource) to it along with a
> FooProxyFrame (extend ProxyFrame).
The ForwardFrame is more adapted to this behaviour, you should attach it
to a FramedResource (the minimal resource accepting filters).
Maybe some other processing inside will be required, to rewrite the URL
sent to the origin server before forwarding it, in that case a
FooForwardFrame would be better.
The ProxyFrame is too specialized at... proxying.
Hope this helps,
/\ - Yves Lafon - World Wide Web Consortium -
/\ / \ Architecture Domain - Jigsaw Activity Leader
/ \ \/\
/ \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org