org.apache.sling.engine.impl.filter
Class SlingFilterChainHelper
java.lang.Object
org.apache.sling.engine.impl.filter.SlingFilterChainHelper
public class SlingFilterChainHelper
- extends Object
The SlingFilterChainHelper
class is used by Sling to
support building lists of Filter
s. To ensure filter
ordering, each filter is optionally registered with an ordering index. If
none is provided the default ordering index is Integer.MAX_VALUE to append
the filter to the end of the list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addFilter
public javax.servlet.Filter addFilter(javax.servlet.Filter filter,
Long filterId,
int order)
removeAllFilters
public javax.servlet.Filter[] removeAllFilters()
removeFilter
public javax.servlet.Filter removeFilter(javax.servlet.Filter filter)
removeFilterById
public boolean removeFilterById(Object filterId)
getFilters
public javax.servlet.Filter[] getFilters()
- Returns the list of
Filter
s added to this instance
or null
if no filters have been added.
getFilterListEntries
public SlingFilterChainHelper.FilterListEntry[] getFilterListEntries()
- Returns the list of
FilterListEntry
s added to this instance
or null
if no filters have been added.
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.