wicket.protocol.http
Class HttpSessionStore
java.lang.Object
wicket.protocol.http.AbstractHttpSessionStore
wicket.protocol.http.HttpSessionStore
- All Implemented Interfaces:
- ISessionStore
public class HttpSessionStore
- extends AbstractHttpSessionStore
Default web implementation of ISessionStore that uses
the HttpSession to store its attributes.
- Author:
- Eelco Hillenius
|
Method Summary |
java.lang.Object |
getAttribute(Request request,
java.lang.String name)
Gets the attribute value with the given name |
java.util.List |
getAttributeNames(Request request)
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpSessionStore
public HttpSessionStore()
setAttribute
public void setAttribute(Request request,
java.lang.String name,
java.lang.Object value)
- Description copied from interface:
ISessionStore
- Adds or replaces the attribute with the given name and value.
- Parameters:
request - the current requestname - the name of the attributevalue - the value of the attribute- See Also:
ISessionStore.setAttribute(Request,java.lang.String,
java.lang.Object)
getAttribute
public java.lang.Object getAttribute(Request request,
java.lang.String name)
- Description copied from interface:
ISessionStore
- Gets the attribute value with the given name
- Parameters:
request - the current requestname - The name of the attribute to store
- Returns:
- The value of the attribute
- See Also:
ISessionStore.getAttribute(wicket.Request, java.lang.String)
removeAttribute
public void removeAttribute(Request request,
java.lang.String name)
- Description copied from interface:
ISessionStore
- Removes the attribute with the given name.
- Parameters:
request - the current requestname - the name of the attribute to remove- See Also:
ISessionStore.removeAttribute(Request,java.lang.String)
getAttributeNames
public java.util.List getAttributeNames(Request request)
- Parameters:
request - the current request
- Returns:
- List of attributes for this session
- See Also:
ISessionStore.getAttributeNames(Request)
Copyright © 2004-2007 Wicket developers. All Rights Reserved.