|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- public interface IClientSessionInfo<E>
Protocol session information wrapper
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Gives the attribute value that saved in the session previously |
java.util.Enumeration<java.lang.String> |
getAttributeNames()
Gives all attributes that are saved within the session |
java.lang.String |
getId()
Unique session identifier |
E |
getWrappedSession()
Gives the protocol specific session object |
java.lang.Class<E> |
getWrappedType()
gives the wrapped session object type |
void |
invalidate()
Invalidates the client session |
void |
removeAttribute(java.lang.String name)
Removes an attribute from the session |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Saves an attribute in client session |
Method Detail |
---|
E getWrappedSession()
java.lang.Class<E> getWrappedType()
java.lang.Object getAttribute(java.lang.String name)
name
- name of the attribute
java.util.Enumeration<java.lang.String> getAttributeNames()
java.lang.String getId()
void invalidate()
void removeAttribute(java.lang.String name)
name
- name of the attributevoid setAttribute(java.lang.String name, java.lang.Object value)
name
- name of the attributevalue
- value of the attribute. In order to support session serialization, save only serializable objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |