java.lang.Object |
↳ |
com.opensymphony.sitemesh.webapp.SiteMeshFilter |
|
↳ |
com.atlassian.jira.web.filters.SitemeshPageFilter |
Class Overview
This Sitemesh page filter adds HTTP request header-driven exclusions to the standard PageFilter. Decoration can
be skipped based on the present of certain HTTP request headers, or based on the requested path.
This filter accepts two initialization parameters:
- exclude.paths: comma-separated list of excluded servlet paths (REQUIRED)
- exclude.headers: name of HTTP request headers
The excluded paths patterns in the list may come in two forms:
- exact pattern - exact servlet path that will be matched by means of the
equals(Object)
method
- wildcard pattern - part of the path followed by the '*' (wildcard) character, will match against all
requests, whose servlet path starts with the pattern (by means of
startsWith(String)
)
Summary
Nested Classes |
enum |
SitemeshPageFilter.InitParams |
|
Public Methods |
void
|
destroy()
|
void
|
doFilter(ServletRequest requestz, ServletResponse response, FilterChain chain)
|
void
|
init(FilterConfig filterConfig)
|
[Expand]
Inherited Methods |
From class
com.opensymphony.sitemesh.webapp.SiteMeshFilter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
ContentProcessor
|
initContentProcessor(SiteMeshWebAppContext arg0)
|
DecoratorSelector
|
initDecoratorSelector(SiteMeshWebAppContext arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.servlet.Filter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
|
Public Constructors
public
SitemeshPageFilter
()
Public Methods
public
void
doFilter
(ServletRequest requestz, ServletResponse response, FilterChain chain)
public
void
init
(FilterConfig filterConfig)