Class DirectoryPredicate

  • All Implemented Interfaces:
    io.undertow.predicate.Predicate

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

      • Fields inherited from interface io.undertow.predicate.Predicate

        PREDICATE_CONTEXT
    • Constructor Summary

      Constructors 
      Constructor Description
      DirectoryPredicate​(io.undertow.attribute.ExchangeAttribute location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean resolve​(io.undertow.server.HttpServerExchange value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • DirectoryPredicate

        public DirectoryPredicate​(io.undertow.attribute.ExchangeAttribute location)
    • Method Detail

      • resolve

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object