|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.WrappedPortletSession
public class WrappedPortletSession
Wrapper for
| Constructor Summary | |
|---|---|
WrappedPortletSession(javax.portlet.PortletSession session)
Creates a new wrapped portlet session. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Gets an attribute from this session. |
java.util.Set<java.lang.String> |
getAttributeNames()
Gets the current set of attribute names stored in this session. |
java.lang.String |
getId()
Gets a string with a unique identifier for the session. |
int |
getMaxInactiveInterval()
Returns the maximum time interval, in seconds, that this session will be kept open between client accesses. |
javax.portlet.PortletSession |
getPortletSession()
Gets the wrapped PortletSession. |
void |
invalidate()
Invalidates this session then unbinds any objects bound to it. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Saves an attribute value in this session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WrappedPortletSession(javax.portlet.PortletSession session)
session - the portlet session to wrap.| Method Detail |
|---|
public int getMaxInactiveInterval()
WrappedSession
getMaxInactiveInterval in interface WrappedSessionHttpSession.getMaxInactiveInterval(),
PortletSession.getMaxInactiveInterval()public java.lang.Object getAttribute(java.lang.String name)
WrappedSession
getAttribute in interface WrappedSessionname - the name of the attribute
null if the attribute is not
defined in the sessionHttpSession.getAttribute(String),
PortletSession.getAttribute(String)
public void setAttribute(java.lang.String name,
java.lang.Object value)
WrappedSession
setAttribute in interface WrappedSessionname - the name of the attributevalue - the attribute valueHttpSession.setAttribute(String, Object),
PortletSession.setAttribute(String, Object)public javax.portlet.PortletSession getPortletSession()
PortletSession.
public java.util.Set<java.lang.String> getAttributeNames()
WrappedSession
getAttributeNames in interface WrappedSessionHttpSession.getAttributeNames(),
PortletSession.getAttributeNames()public void invalidate()
WrappedSession
invalidate in interface WrappedSessionHttpSession.invalidate(),
PortletSession.invalidate()public java.lang.String getId()
WrappedSession
getId in interface WrappedSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||