Class ConfluenceResourceDownloadRewriteRule
- java.lang.Object
 - 
- org.tuckey.web.filters.urlrewrite.extend.RewriteRule
 - 
- com.atlassian.confluence.servlet.rewrite.ConfluenceResourceDownloadRewriteRule
 
 
 
- 
public class ConfluenceResourceDownloadRewriteRule extends org.tuckey.web.filters.urlrewrite.extend.RewriteRuleThis Tuckey URLRewriteRulewill noramlise a URL and then make sure that it does not attempt to use directory traversal to access the WEB-INF directory.This
RewriteRulewill also add the caching/no-caching headers (if necessary) depending on URL usedCachedRewriteMatchDisableCacheRewriteMatchNote: Although a similar rules is provided by
ResourceDownloadRewriteRuleConfluence requires a url re-mapping for the "download/images" path, as well as support for non-caching headers 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringDOWNLOAD_IMAGESstatic StringIMAGES 
- 
Constructor Summary
Constructors Constructor Description ConfluenceResourceDownloadRewriteRule() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.tuckey.web.filters.urlrewrite.extend.RewriteMatchmatches(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) 
 - 
 
- 
- 
Field Detail
- 
DOWNLOAD_IMAGES
public static final String DOWNLOAD_IMAGES
- See Also:
 - Constant Field Values
 
 
- 
IMAGES
public static final String IMAGES
- See Also:
 - Constant Field Values
 
 
 - 
 
 -