| org.apache.struts2.interceptor.SessionAware
All known Subclasses: org.apache.struts2.showcase.chat.ChatLogoutAction, org.apache.struts2.showcase.hangman.GetUpdatedHangmanAction, org.apache.struts2.showcase.hangman.StartHangmanAction, org.apache.struts2.showcase.chat.ExitRoomAction, org.apache.struts2.showcase.chat.ChatLoginAction, org.apache.struts2.showcase.chat.SendMessageToRoomAction, org.apache.struts2.showcase.chat.EnterRoomAction, org.apache.struts2.portlet.dispatcher.DirectRenderFromEventAction, org.apache.struts2.showcase.hangman.GuessCharacterAction,
SessionAware | public interface SessionAware (Code) | | Actions that want access to the user's HTTP session should implement this interface.
This will give them access to a Map where they can put objects that can be made available
to subsequent requests.
Typical uses may be cached user data such as name, or a shopping cart.
|
Method Summary | |
public void | setSession(Map session) Sets the Map of session attributes in the implementing class. |
setSession | public void setSession(Map session)(Code) | | Sets the Map of session attributes in the implementing class.
Parameters: session - a Map of HTTP session attribute name/value pairs. |
|
|