Class OppositeHeaderResponseFilter

  • All Implemented Interfaces:
    java.util.function.Predicate<HeaderItem>, FilteringHeaderResponse.IHeaderResponseFilter

    public class OppositeHeaderResponseFilter
    extends java.lang.Object
    implements FilteringHeaderResponse.IHeaderResponseFilter
    A filter that takes another filter and always returns the opposite of another filter. This is useful where you have two filters (i.e. one for header and one for footer) and want to ensure that nothing ever has false returned for both cases.
    Author:
    Jeremy Thomerson