Class Filter

  • All Implemented Interfaces:
    net.devslash.AfterHook , net.devslash.FullDataAfterHook

    
    public final class Filter<T extends Object>
     implements FullDataAfterHook
                        

    An after hook that can be provided additional hooks to call in the event that the predicate is true.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Filter.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit accept(HttpRequest req, HttpResponse resp, RequestData<?> data)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • accept

         Unit accept(HttpRequest req, HttpResponse resp, RequestData<?> data)