|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.rewrite.IfFileExists
@Configurable public class IfFileExists
Match if the file specified by getRealPath() exists in the filesystem.
<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 Summary | |
|---|---|
IfFileExists()
|
|
| Method Summary | |
|---|---|
boolean |
isMatch(HttpServletRequest request)
True if the predicate matches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IfFileExists()
| Method Detail |
|---|
public boolean isMatch(HttpServletRequest request)
isMatch in interface CacheablePredicateisMatch in interface RequestPredicaterequest - the servlet request to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||