Class SlingFilterChainHelper


  • public class SlingFilterChainHelper
    extends Object
    The SlingFilterChainHelper class is used by Sling to support building lists of Filters. 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.
    • Method Detail

      • removeFilterById

        public boolean removeFilterById​(long filterId)
      • getFilters

        public FilterHandle[] getFilters()
        Returns the list of Filters added to this instance or null if no filters have been added. This method doesn't need to be synced as it is called from synced methods.
        Returns:
        the filters