|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.common.util
Class ServletUtil

java.lang.Objectcom.aendvari.common.util.ServletUtil
- public class ServletUtil
- extends java.lang.Object
Utility class for servlets.
| Nested Class Summary | |
static interface |
ServletUtil.Scope
Constants for scope searches. |
| Constructor Summary | |
ServletUtil()
|
|
| Method Summary | |
static java.lang.Object |
getAttribute(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Returns the specified attribute. |
static java.lang.Object |
getAttribute(javax.servlet.jsp.PageContext pageContext,
java.lang.String scope,
java.lang.String attributeName)
Uses scope for where to find the object wanted. |
static void |
setAttribute(javax.servlet.jsp.PageContext pageContext,
java.lang.String scope,
java.lang.String attributeName,
java.lang.Object attributeObject)
Places the supplied object in the scope specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ServletUtil
public ServletUtil()
| Method Detail |
getAttribute
public static java.lang.Object getAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name)
- Returns the specified attribute. Looks in the request and session attribute spaces.
getAttribute
public static java.lang.Object getAttribute(javax.servlet.jsp.PageContext pageContext, java.lang.String scope, java.lang.String attributeName)
Uses
scopefor where to find the object wanted. If not found, an attempt to find the scope manually will occur.
setAttribute
public static void setAttribute(javax.servlet.jsp.PageContext pageContext, java.lang.String scope, java.lang.String attributeName, java.lang.Object attributeObject)
Places the supplied object in the
scopespecified.
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.common.util.ServletUtil