org.deegree.enterprise.servlet
Class GZIPFilter
java.lang.Object
org.deegree.enterprise.servlet.GZIPFilter
- All Implemented Interfaces:
- Filter
public class GZIPFilter
- extends Object
- implements Filter
ServletFilter that enables compression of response content, if
the client supports GZIP compression (accept-encoding=gzip ...).
- Since:
- 2.0
- Version:
- $Revision: 6259 $, 1.0. $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
- Author:
- Jayson Falkner, last edited by: $Author: bezema $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZIPFilter
public GZIPFilter()
doFilter
public void doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Parameters:
req
- res
- chain
-
- Throws:
IOException
ServletException
init
public void init(FilterConfig filterConfig)
- Specified by:
init
in interface Filter
- Parameters:
filterConfig
-
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net