|
||||||||||
| 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. |
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 |
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||