|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.scopes.util.ScopesRequestUtils
public class ScopesRequestUtils
Utilities to use Scopes with HttpServletRequest.
Method Summary | |
---|---|
static java.lang.String |
getCookieAttributeFromRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String attributeName)
Returns the value of a cookie attribute, if found. |
static State |
getState(javax.servlet.ServletRequest request)
It returns a state that was previously stored. |
static void |
setState(javax.servlet.ServletRequest request,
State state)
Stores a state inside a request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static State getState(javax.servlet.ServletRequest request)
request
- The request from which the state should be extracted.
public static void setState(javax.servlet.ServletRequest request, State state)
request
- The request to store the state into.state
- The state to store.public static java.lang.String getCookieAttributeFromRequest(javax.servlet.http.HttpServletRequest request, java.lang.String attributeName)
request
- The HTTP request.attributeName
- The name of the cookie attribute.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |