org.fhw.cabaweb.webfrontend.filters
Class GZIPFilter
java.lang.Object
org.fhw.cabaweb.webfrontend.filters.GZIPFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- public class GZIPFilter
- extends Object
- implements javax.servlet.Filter
Filter-Klasse die im Falle das der Client das unterstützt,
den Stream GZIP komprimiert.
ORIGINAL aus dem Buch Servlets and JavaServer Pages
von Jayson Falkner, Kevin Jones (http://www.jspbook.com/)
- Version:
- Version 1.0 24.07.2004
- Author:
- Jayson Falkner, Kevin Jones
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 |
GZIPFilter
public GZIPFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
init
public void init(javax.servlet.FilterConfig filterConfig)
- Specified by:
init
in interface javax.servlet.Filter
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 2004 TVC-Software.com. All Rights Reserved.