config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/Response.java
public static OperationBuilder gzipStreamCompression()
   {
      return new Response() {

         @Override
         public void performHttp(HttpServletRewrite event, EvaluationContext context)
         {
            withOutputStreamWrappedBy(new GZipResponseStreamWrapper()).perform(event, context);
         }

         @Override
         public String toString()
         {
            return "Response.gzipCompression()";
         }

      };
   }
public static OperationBuilder gzipStreamCompression()
   {
      return new Response() {

         @Override
         public void performHttp(HttpServletRewrite event, EvaluationContext context)
         {
            withOutputStreamWrappedBy(new GZipResponseStreamWrapper()).perform(event, context);
         }

         @Override
         public String toString()
         {
            return "Response.gzipCompression()";
         }

      };
   }
public static OperationBuilder gzipStreamCompression ( ) { return new Response ( ) { @ Override public void performHttp ( HttpServletRewrite event , EvaluationContext context ) { withOutputStreamWrappedBy ( new GZipResponseStreamWrapper ( ) ) . perform ( event , context ) ; } @ Override public String toString ( ) { return "Response.gzipCompression()" ; } } ; }
Compress the {@link ServletOutputStream} contents written to the client.
<p>
<b>WARNING</b>: This means that the HTTP response will not contain a 'Content-Length' header.
Compress the {