deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.enterprise.servlet
Class GZIPFilter

java.lang.Object
  extended by org.deegree.enterprise.servlet.GZIPFilter
All Implemented Interfaces:
javax.servlet.Filter

public class GZIPFilter
extends java.lang.Object
implements javax.servlet.Filter

ServletFilter that enables compression of response content, if the client supports GZIP compression (accept-encoding=gzip ...).

Version:
$Revision: 20326 $, $Date: 2009-10-22 18:41:56 +0200 (Do, 22 Okt 2009) $
Author:
Jayson Falkner, last edited by: $Author: mschneider $

Constructor Summary
GZIPFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.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(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
req -
res -
chain -
Throws:
java.io.IOException
javax.servlet.ServletException

init

public void init(javax.servlet.FilterConfig filterConfig)
Specified by:
init in interface javax.servlet.Filter
Parameters:
filterConfig -

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

deegree 2.5 (2011/06/29 09:44 build-8-official)

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