@Configurable public class IfFileExists extends java.lang.Object implements RequestPredicate, CacheablePredicate
<resin:Allow url-pattern="/admin/*"> xmlns:resin="urn:java:com.caucho.resin"> <resin:IfFileExists/> </resin:Allow>
RequestPredicates may be used for security and rewrite actions.
Constructor and Description |
---|
IfFileExists() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(HttpServletRequest request)
True if the predicate matches.
|
public boolean isMatch(HttpServletRequest request)
isMatch
in interface CacheablePredicate
isMatch
in interface RequestPredicate
request
- the servlet request to test