• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controlling the response

 
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