Interface Chain

    • Method Detail

      • addHandler

        void addHandler​(Handler handler)
        Adds a handler to the end of the chain. May not be called after invoke.
        Parameters:
        handler - the Handler to be added
      • contains

        boolean contains​(Handler handler)
        Discover if a handler is in this chain.
        Parameters:
        handler - the Handler to check
        Returns:
        true if it is in this chain, false otherwise
      • getHandlers

        Handler[] getHandlers()
        Get the list of handlers in the chain. Is Handler[] the right form?
        Returns:
        an array of Handlers that have been added