Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Response Wrapper

 
Kin Ng
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Thank you for looking at my post.
It's great if you guys would give me some ideas on the following.

In the Compression wrapper code (HFS&J pg692), I assume that the servlet is unable to send the response straight to the client, because one would need to call finish() on the internalGzipOS in order to do so. Am I right?

If that's true, does it mean that if we want to perform post-servlet-processing, we would always have to wrap the outputstream with something that needs an extra method call to flush?

Thank you all for your time,

Rgds,

Kin
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic