On Tue, 17 Feb 1998, Paul Pazandak wrote: > > You should be able to simply modify the Request object and return it. It seems I can not RETURN that Request object to Jigsaw core. I write my filter's ingoingFilter method like this: Request AnotherRequest; public Reply ingoingFilter(Request request) { if (conditons) { request = AnotherRequest; } return null; } But the fact is Jigsaw did not use the old request, instead of the new AnotherRequest as its forward request. I think it is normal because that request was passed to ingoingFilter just as an instance, what I did within the ingoingFilter will not effect the outside request. Therefore my following question araised. Thanks, Qiang > > Paul. > > > > Lv, Qiang wrote: > > > Hi, > > > > I sucessfully set up Jigsaw as a proxy server. Now I can intercept > > request from clients in my filter. I want to check these requests, then > > replace some requests with mine in some conditions. The problem is: > > ingoingFilter only get a instance of Request. How can I replace that > > request with a new one and let Jigsaw forward my new request? > > > > Thanks, > > > > ------------------------------------------------- > > Qiang Lv > > room 4220, ITC building > > CIS department, NJIT > > University Heights > > Newark, NJ 07102 > > Tel: 973-596-2863(O) 973-596-2594(H) > > Fax: 973-596-5777 > > ------------------------------------------------ > > > >Received on Tuesday, 17 February 1998 17:05:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:48 GMT