|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.util.ContextUtils
Utility methods relating to the ServletContext API.
Constructor Summary | |
ContextUtils()
|
Method Summary | |
static java.net.URL |
getResource(javax.servlet.ServletContext context,
java.lang.String url)
Wrapper for ServletContext.getResource() which is safe to call when running in Servlet 2.0 engines. |
static void |
setAttribute(javax.servlet.ServletContext context,
java.lang.String key,
java.lang.Object value)
Wrapper for ServletContext.setAttribute() which is safe to call when running in Servlet 2.0 engines - but those engines will trigger an UnsupportedOperationException. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextUtils()
Method Detail |
public static java.net.URL getResource(javax.servlet.ServletContext context, java.lang.String url) throws java.net.MalformedURLException
public static void setAttribute(javax.servlet.ServletContext context, java.lang.String key, java.lang.Object value)
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |