|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tuckey.web.filters.urlrewrite.gzip.GzipFilter
public class GzipFilter
Provides GZIP compression of responses.
See the filter-mappings.xml entry for the gzip filter for the URL patterns which will be gzipped. At present this includes .jsp, .js and .css.
| Constructor Summary | |
|---|---|
GzipFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
A template method that performs any Filter specific destruction tasks. |
void |
doFilter(javax.servlet.ServletRequest sRequest,
javax.servlet.ServletResponse sResponse,
javax.servlet.FilterChain chain)
Performs the filtering for a request. |
void |
init(javax.servlet.FilterConfig filterConfig)
Performs initialisation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GzipFilter()
| Method Detail |
|---|
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.FilterfilterConfig -
javax.servlet.ServletExceptionpublic void destroy()
destroy()
destroy in interface javax.servlet.Filter
public final void doFilter(javax.servlet.ServletRequest sRequest,
javax.servlet.ServletResponse sResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOException
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||