Package io.undertow.servlet.predicate
Class FilePredicate
java.lang.Object
io.undertow.servlet.predicate.FilePredicate
- All Implemented Interfaces:
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 -
Field Summary
Fields inherited from interface io.undertow.predicate.Predicate
PREDICATE_CONTEXT
-
Constructor Summary
ConstructorsConstructorDescriptionFilePredicate
(io.undertow.attribute.ExchangeAttribute location) FilePredicate
(io.undertow.attribute.ExchangeAttribute location, boolean requireContent) -
Method Summary
-
Constructor Details
-
FilePredicate
public FilePredicate(io.undertow.attribute.ExchangeAttribute location) -
FilePredicate
public FilePredicate(io.undertow.attribute.ExchangeAttribute location, boolean requireContent)
-
-
Method Details