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.
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?