public class PortletSessionWrapper extends Object implements SessionContext
Constructor and Description |
---|
PortletSessionWrapper(javax.portlet.PortletSession session) |
Modifier and Type | Method and Description |
---|---|
AppContext |
getAppContext() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
Object |
getExternalSession() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
void |
invalidate() |
boolean |
isNew() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
public PortletSessionWrapper(javax.portlet.PortletSession session)
public Object getExternalSession()
getExternalSession
in interface SessionContext
public AppContext getAppContext()
getAppContext
in interface SessionContext
public String getId()
getId
in interface SessionContext
public boolean isNew()
isNew
in interface SessionContext
public void invalidate()
invalidate
in interface SessionContext
public long getCreationTime()
getCreationTime
in interface SessionContext
public long getLastAccessedTime()
getLastAccessedTime
in interface SessionContext
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface SessionContext
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface SessionContext
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface SessionContext
public Object getAttribute(String name)
getAttribute
in interface SessionContext
public void setAttribute(String name, Object value)
setAttribute
in interface SessionContext
public void removeAttribute(String name)
removeAttribute
in interface SessionContext
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.