deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.enterprise.servlet
Class GZIPFilter

java.lang.Object
  extended by 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 $

Constructor Summary
GZIPFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
 void init(FilterConfig filterConfig)
           
 
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(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

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net