public interface WrappedHttpSession
extends javax.servlet.http.HttpSession
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getAttribute(java.lang.String key)Returns the object bound with the specified name in this session, or null if no object is bound under the name. | 
| void | setAttribute(java.lang.String key,
            java.lang.Object value)Saves an object in this session, using the name specified. | 
java.lang.Object getAttribute(java.lang.String key)
Note that this method returns the state of the object at the time of calling setAttribute(), any changes made to the saved object after calling setAttribute() will not be reflected in the object returned by this method.
getAttribute in interface javax.servlet.http.HttpSessionkey - - a string specifying the name of the objectsetAttribute(String, Object)void setAttribute(java.lang.String key,
                  java.lang.Object value)
Note that getAttribute() returns the state of the object at the time of calling this method, any changes made to the saved object after calling this method will not be reflected in the object returned by getAttribute().
setAttribute in interface javax.servlet.http.HttpSessionkey - -  the name to which the object is bound; cannot be nullvalue - - the object to be savedgetAttribute(String)