|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowStateStorage
A storage for interim flow states. It is sufficient (and recommended) to have exactly one flow state storage per application context, although you can have exotic scenarios with several controllers, each with a different storage if you really have to. If you have a single storage in the application context, then all flow controllers that don't have their own storage set will use it.
Method Summary | |
---|---|
org.mozilla.javascript.NativeContinuation |
getState(javax.servlet.http.HttpServletRequest request,
java.lang.String id)
Retrieves the state associated with a request |
java.lang.String |
storeState(javax.servlet.http.HttpServletRequest request,
org.mozilla.javascript.NativeContinuation state)
Stores the state associated with the current request |
Method Detail |
---|
java.lang.String storeState(javax.servlet.http.HttpServletRequest request, org.mozilla.javascript.NativeContinuation state)
request
- the HTTP requeststate
- the state
org.mozilla.javascript.NativeContinuation getState(javax.servlet.http.HttpServletRequest request, java.lang.String id)
request
- the HTTP requestid
- the unique identifier for the flow state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |