|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISessionStore
The actual store that is used by Session to store its
attributes.
| Method Summary | |
|---|---|
void |
bind(Request request,
Session newSession)
Adds the provided new session to this facade using the provided request. |
java.lang.Object |
getAttribute(Request request,
java.lang.String name)
Gets the attribute value with the given name |
java.util.List |
getAttributeNames(Request request)
|
java.lang.String |
getSessionId(Request request)
Get the session id for the provided request. |
void |
invalidate(Request request)
Invalidates the session. |
Session |
lookup(Request request)
Retrieves the session for the provided request from this facade. |
void |
removeAttribute(Request request,
java.lang.String name)
Removes the attribute with the given name. |
void |
setAttribute(Request request,
java.lang.String name,
java.lang.Object value)
Adds or replaces the attribute with the given name and value. |
void |
unbind(java.lang.String sessionId)
Adds the provided new session to this facade using the provided request. |
| Method Detail |
|---|
java.lang.Object getAttribute(Request request,
java.lang.String name)
request - the current requestname - The name of the attribute to store
java.util.List getAttributeNames(Request request)
request - the current request
void invalidate(Request request)
request - the current request
void removeAttribute(Request request,
java.lang.String name)
request - the current requestname - the name of the attribute to remove
void setAttribute(Request request,
java.lang.String name,
java.lang.Object value)
request - the current requestname - the name of the attributevalue - the value of the attributejava.lang.String getSessionId(Request request)
request - The request
Session lookup(Request request)
This method should return null if it is not bound yet, so that Wicket can
recognize that it should create a session and call
bind(Request, Session) right after that.
request - The current request
void bind(Request request,
Session newSession)
request - The request that triggered making a new sesionnewSession - The new sessionvoid unbind(java.lang.String sessionId)
sessionId - The SessionId that must be unbinded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||