com.atlassian.core.filters.gzip
Class GzipFilter

java.lang.Object
  extended bycom.atlassian.core.filters.AbstractFilter
      extended bycom.atlassian.core.filters.gzip.GzipFilter
All Implemented Interfaces:
javax.servlet.Filter

Deprecated. Please use com.atlassian.gzipfilter.GzipFilter from the 'atlassian-gzipfilter' project instead.

public abstract class GzipFilter
extends AbstractFilter


Constructor Summary
GzipFilter()
          Deprecated.  
 
Method Summary
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
          Deprecated.  
protected abstract  java.lang.String getEncoding()
          Deprecated. Application dependent property which will be used to create an output stream for writing out the response (note - this is different to actually zipping the response, which is handled
 void init(javax.servlet.FilterConfig filterConfig)
          Deprecated.  
protected  boolean isStyleSheet(javax.servlet.http.HttpServletRequest request)
          Deprecated. stylesheets are not to be decorated (internet explorer bug)
protected  boolean isTopLevelRequest(javax.servlet.http.HttpServletRequest request)
          Deprecated.  
protected abstract  boolean useGzip()
          Deprecated.  
protected  boolean useGzipForThisRequest(javax.servlet.http.HttpServletRequest req)
          Deprecated.  
 
Methods inherited from class com.atlassian.core.filters.AbstractFilter
destroy, getFilterConfig, setFilterConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GzipFilter

public GzipFilter()
Deprecated. 
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Deprecated. 
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class AbstractFilter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Deprecated. 
Throws:
java.io.IOException
javax.servlet.ServletException

useGzipForThisRequest

protected boolean useGzipForThisRequest(javax.servlet.http.HttpServletRequest req)
Deprecated. 

useGzip

protected abstract boolean useGzip()
Deprecated. 

isTopLevelRequest

protected boolean isTopLevelRequest(javax.servlet.http.HttpServletRequest request)
Deprecated. 

isStyleSheet

protected boolean isStyleSheet(javax.servlet.http.HttpServletRequest request)
Deprecated. 
stylesheets are not to be decorated (internet explorer bug)


getEncoding

protected abstract java.lang.String getEncoding()
Deprecated. 
Application dependent property which will be used to create an output stream for writing out the response (note - this is different to actually zipping the response, which is handled

Returns:


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.