Class IsDirectoryPredicate

java.lang.Object
ortus.boxlang.web.predicates.IsDirectoryPredicate
All Implemented Interfaces:
io.undertow.predicate.Predicate

public class IsDirectoryPredicate extends Object implements io.undertow.predicate.Predicate
Predicate that returns true if the given location corresponds to a directory. This is a copy of the servlet version, but uses a resource manager attached to the exchange
  • Constructor Details

    • IsDirectoryPredicate

      public IsDirectoryPredicate(io.undertow.attribute.ExchangeAttribute location)
  • Method Details

    • resolve

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

      public String toString()
      Overrides:
      toString in class Object