Class BasePageFilter

  • All Implemented Interfaces:
    PageFilter

    public class BasePageFilter
    extends java.lang.Object
    implements PageFilter
    Provides a base implementation of a PageFilter. None of the callbacks do anything, so it is a good idea for you to extend from this class and implement only methods that you need.
    • Method Detail

      • initialize

        public void initialize​(Engine engine,
                               java.util.Properties properties)
                        throws FilterException
        If you override this, you should call super.initialize() first. Is called whenever the a new PageFilter is instantiated and reset.
        Specified by:
        initialize in interface PageFilter
        Parameters:
        engine - The Engine which owns this PageFilter
        properties - The properties ripped from filters.xml.
        Throws:
        FilterException - If the filter could not be initialized. If this is thrown, the filter is not added to the internal queues.