Class 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 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