com.atlassian.gzipfilter.selector
Class DefaultGzipCompatibilitySelectorFactory

java.lang.Object
  extended by com.atlassian.gzipfilter.selector.DefaultGzipCompatibilitySelectorFactory
All Implemented Interfaces:
GzipCompatibilitySelectorFactory

public class DefaultGzipCompatibilitySelectorFactory
extends java.lang.Object
implements GzipCompatibilitySelectorFactory

This factory will parse the urlrewrite config file, and use that to select whether to gzip or not. It will load the filter init param urlrewrite.configfile for the file to load rules from. If this is not specified (or does not exist), look up /WEB-INF/urlrewrite-gzip.xml. If this is not available then use the default config file (shipped with atlassian-gzipfilter) com/atlassian/gzipfilter/urlrewrite-gzip-default.xml.


Constructor Summary
DefaultGzipCompatibilitySelectorFactory()
           
 
Method Summary
 GzipCompatibilitySelector getSelector(javax.servlet.FilterConfig filterConfig, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGzipCompatibilitySelectorFactory

public DefaultGzipCompatibilitySelectorFactory()
Method Detail

getSelector

public GzipCompatibilitySelector getSelector(javax.servlet.FilterConfig filterConfig,
                                             javax.servlet.http.HttpServletRequest request)
Specified by:
getSelector in interface GzipCompatibilitySelectorFactory


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.