|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.decoration.validators.WebApplicationResourceValidator
public class WebApplicationResourceValidator
This implementation uses ServletContext.getResource()
to verify the existence of a resource.
| Constructor Summary | |
|---|---|
WebApplicationResourceValidator()
|
|
| Method Summary | |
|---|---|
boolean |
resourceExists(java.lang.String path)
Validates whether or not a resource exists. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebApplicationResourceValidator()
| Method Detail |
|---|
public boolean resourceExists(java.lang.String path)
ResourceValidator
resourceExists in interface ResourceValidatorpath - Path to verify.
true if a resource exists at the path specified,
otherwise returns false.public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||