• Post Reply Bookmark Topic Watch Topic
  • New Topic

Response Wrapper

Kin Ng
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,


my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!