Package io.undertow.servlet.predicate
Class FilePredicate
- java.lang.Object
-
- io.undertow.servlet.predicate.FilePredicate
-
- All Implemented Interfaces:
io.undertow.predicate.Predicate
public class FilePredicate extends Object implements io.undertow.predicate.Predicate
Predicate that returns true if the given location corresponds to a regular file.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilePredicate.Builder
-
Constructor Summary
Constructors Constructor Description FilePredicate(io.undertow.attribute.ExchangeAttribute location)FilePredicate(io.undertow.attribute.ExchangeAttribute location, boolean requireContent)
-