|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.scxml.env.servlet.ServletContextResolver
public class ServletContextResolver
A wrapper around ServletContext that implements PathResolver.
PathResolver
Constructor Summary | |
---|---|
ServletContextResolver(javax.servlet.ServletContext ctx)
Constructor. |
Method Summary | |
---|---|
PathResolver |
getResolver(String ctxPath)
Retrieve the PathResolver rooted at the given path. |
String |
resolvePath(String ctxPath)
Delegates to the underlying ServletContext's getRealPath(String). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletContextResolver(javax.servlet.ServletContext ctx)
ctx
- The ServletContext instance for this web application.Method Detail |
---|
public String resolvePath(String ctxPath)
resolvePath
in interface PathResolver
ctxPath
- context sensitive path, can be a relative URL
null
PathResolver.resolvePath(java.lang.String)
public PathResolver getResolver(String ctxPath)
getResolver
in interface PathResolver
ctxPath
- context sensitive path, can be a relative URL
PathResolver.getResolver(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |