Class FilterAttachableImpl<E>

  • All Implemented Interfaces:
    FilterAttachable<E>

    public final class FilterAttachableImpl<E>
    extends Object
    implements FilterAttachable<E>
    Implementation of FilterAttachable.
    Author:
    Ceki Gülcü
    • Constructor Detail

      • FilterAttachableImpl

        public FilterAttachableImpl()
    • Method Detail

      • getFilterChainDecision

        public FilterReply getFilterChainDecision​(E event)
        Loop through the filters in the list. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.
        Specified by:
        getFilterChainDecision in interface FilterAttachable<E>