This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Controlling the response  RSS feed

 
hatim osman
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
I have read the elegant example included in HFSJ book with respect to filters and wrappers. It compressed the response using a custome wrapper. It largely depended on the finish() method of the GzipOutput stream to intercept and control the transmission of the response.
Using wrappers, are there any other ways to prevent the response from being automatically sent to the client, assuming compression is not required?

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!