Class DirectoryPredicate

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

public class DirectoryPredicate extends Object implements io.undertow.predicate.Predicate
Predicate that returns true if the given location corresponds to a directory.
Author:
Stuart Douglas
  • Constructor Details

    • DirectoryPredicate

      public DirectoryPredicate(io.undertow.attribute.ExchangeAttribute location)
  • 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