|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.common.servlet.ServletAttributeUtil
public abstract class ServletAttributeUtil
Utility methods for servlet attributes.
Constructor Summary | |
---|---|
ServletAttributeUtil() |
Method Summary | |
---|---|
static java.lang.Object |
findAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name) Find an attribute value; looks first in request scope, then session, then application. |
static java.lang.Object |
getAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, int scope) Get an attribute value at the given scope |
static void |
removeAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, int scope) Remove an attribute value at the given scope |
static void |
setAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.Object value, int scope) Set an attribute value at the given scope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletAttributeUtil()
Method Detail |
---|
public static void setAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.Object value, int scope)
request
- the requestname
- the attribute namevalue
- the attribute valuescope
- the scope (from PageContext constants)public static java.lang.Object getAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, int scope)
request
- the requestname
- the attribute namescope
- the scope (from PageContext constants)public static void removeAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, int scope)
request
- the requestname
- the attribute namescope
- the scope (from PageContext constants)public static java.lang.Object findAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name)
request
- the requestname
- the attribute name
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |