Package io.undertow.servlet.predicate
Class DirectoryPredicate
- java.lang.Object
-
- io.undertow.servlet.predicate.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DirectoryPredicate.Builder
-
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()
-