Class DispatcherTypePredicate

java.lang.Object
io.undertow.servlet.predicate.DispatcherTypePredicate
All Implemented Interfaces:
io.undertow.predicate.Predicate

public class DispatcherTypePredicate extends Object implements io.undertow.predicate.Predicate
Predicate that returns true if the dispatcher type matches the specified type.
Author:
Stuart Douglas
  • Field Details

  • Constructor Details

    • DispatcherTypePredicate

      public DispatcherTypePredicate(javax.servlet.DispatcherType dispatcherType)
  • Method Details

    • resolve

      public boolean resolve(io.undertow.server.HttpServerExchange value)
      Specified by:
      resolve in interface io.undertow.predicate.Predicate
    • toString

      public String toString()
      Overrides:
      toString in class Object