net.spy.jwebkit
Class GZIPFilter

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.jwebkit.JWFilter
          extended by net.spy.jwebkit.GZIPFilter
All Implemented Interfaces:
javax.servlet.Filter

public class GZIPFilter
extends JWFilter

Compression filter. Currently, anything that doesn't have a type starting with image/ or video/ will be compressed. If it becomes an issue, I'll add flexiblity in the future.


Constructor Summary
GZIPFilter()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
           
 
Methods inherited from class net.spy.jwebkit.JWFilter
destroy, getConfig, init
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZIPFilter

public GZIPFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.