Class WebScriptServletSession
- java.lang.Object
-
- org.springframework.extensions.webscripts.servlet.WebScriptServletSession
-
- All Implemented Interfaces:
WebScriptSession
public class WebScriptServletSession extends java.lang.Object implements WebScriptSession
HTTP based Web Script Session- Author:
- davidc
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.http.HttpSessionsession
-
Constructor Summary
Constructors Constructor Description WebScriptServletSession(javax.servlet.http.HttpSession session)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Gets the id of the sessionjava.lang.ObjectgetValue(java.lang.String name)Gets a value from the sessionvoidremoveValue(java.lang.String name)Remove value from the sessionvoidsetValue(java.lang.String name, java.lang.Object value)Sets a value in the session
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:WebScriptSessionGets the id of the session- Specified by:
getIdin interfaceWebScriptSession- Returns:
- session id
-
getValue
public java.lang.Object getValue(java.lang.String name)
Description copied from interface:WebScriptSessionGets a value from the session- Specified by:
getValuein interfaceWebScriptSession- Parameters:
name- value name- Returns:
- value
-
removeValue
public void removeValue(java.lang.String name)
Description copied from interface:WebScriptSessionRemove value from the session- Specified by:
removeValuein interfaceWebScriptSession- Parameters:
name- value name
-
setValue
public void setValue(java.lang.String name, java.lang.Object value)Description copied from interface:WebScriptSessionSets a value in the session- Specified by:
setValuein interfaceWebScriptSession- Parameters:
name- value namevalue- value
-
-