Hi all

 

I've been reading up on filters to see if I can find a solution to an
annoying problem. I can't find it so I'm looking here.

 

I have this http filter that messes with the http request and response
before it enters and leaves tomcat. The problem is that this filter works at
a fairly low level on the data but a big mistake we made is that it assumes
that the data is neither chunked or gzipped. Now we have a situation where
some clients send data either in chunked form or gzipped form and out fairly
complicated filter gets very confused as it's not expecting this.

 

Ok, we can re-write the thing to handle this but doesn't tomcat already
unzip and de-chunk data? Problem is where is it done?

 

 

My question is, how can we arrange it so that the initial processing on the
incoming data is done by tomcat so that it unzip and de-chunks the data
before it reaches my filter? 

 

Is this possible???

 

Please say it is.... 

 

Many thanks

Donie

 

Reply via email to