_chainCache
protected HashMap[] _chainCache
_contextAttributeListeners
protected Object _contextAttributeListeners
_namedChainCache
protected HashMap[] _namedChainCache
_requestAttributeListeners
protected Object _requestAttributeListeners
_requestListeners
protected Object _requestListeners
_sessionListeners
protected Object _sessionListeners
addComponent
protected void addComponent(Object o)
- addComponent in interface Container
org.mortbay.util.Container.addComponent(java.lang.Object)
addFilterHolder
public void addFilterHolder(FilterHolder holder)
addFilterPathMapping
public FilterHolder addFilterPathMapping(String pathSpec,
String filterName,
int dispatches)
Add a mapping from a pathSpec to a Filter.
pathSpec
- The path specificationfilterName
- The name of the filter (must already be added or defined)dispatches
- An integer formed by the logical OR of FilterHolder.__REQUEST,
FilterHolder.__FORWARD,FilterHolder.__INCLUDE and/or FilterHolder.__ERROR.
- The holder of the filter instance.
addFilterServletMapping
public FilterHolder addFilterServletMapping(String servletName,
String filterName,
int dispatches)
Add a servlet filter mapping
servletName
- The name of the servlet to be filtered.filterName
- The name of the filter.dispatches
- An integer formed by the logical OR of FilterHolder.__REQUEST,
FilterHolder.__FORWARD,FilterHolder.__INCLUDE and/or FilterHolder.__ERROR.
- The holder of the filter instance.
defineFilter
public FilterHolder defineFilter(String name,
String className)
getFilters
public List getFilters()
getJsr154Filter
public JSR154Filter getJsr154Filter()
- Returns the jsr154Filter.
isAcceptRanges
public boolean isAcceptRanges()
isFilterChainsCached
public boolean isFilterChainsCached()
- Returns the filterChainsCached.
main
public static void main(String[] arg)
newFilterHolder
protected FilterHolder newFilterHolder(String name,
String className)
removeComponent
protected void removeComponent(Object o)
- removeComponent in interface Container
org.mortbay.util.Container.removeComponent(java.lang.Object)
setAcceptRanges
public void setAcceptRanges(boolean ar)
Set if the handler accepts range requests.
Default is false;
ar
- True if the handler should accept ranges
setFilterChainsCached
public void setFilterChainsCached(boolean filterChainsCached)
Cache filter chains.
If true, filter chains are cached by the URI path within the
context. Caching should not be used if the webapp encodes
information in URLs.
filterChainsCached
- The filterChainsCached to set.