public class InprocServletSession extends Object implements HttpSession
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
m_attributes |
protected long |
m_creationTime |
protected String |
m_id |
protected ServletContext |
m_servletContext |
Constructor and Description |
---|
InprocServletSession() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
Map<String,Object> |
getAttributes() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
ServletContext |
getServletContext() |
HttpSessionContext |
getSessionContext()
Deprecated.
|
Object |
getValue(String name) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String name,
Object value) |
void |
release() |
void |
removeAttribute(String name) |
void |
removeValue(String name) |
void |
setAttribute(String name,
Object value) |
void |
setAttributes(Map<String,Object> attributes) |
void |
setId(String id) |
void |
setMaxInactiveInterval(int ms) |
void |
setServletContext(ServletContext servletContext) |
protected ServletContext m_servletContext
protected long m_creationTime
protected String m_id
public void release()
public Object getAttribute(String name)
getAttribute
in interface HttpSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface HttpSession
public long getCreationTime()
getCreationTime
in interface HttpSession
public String getId()
getId
in interface HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface HttpSession
public ServletContext getServletContext()
getServletContext
in interface HttpSession
@Deprecated public HttpSessionContext getSessionContext()
getSessionContext
in interface HttpSession
public Object getValue(String name)
getValue
in interface HttpSession
public String[] getValueNames()
getValueNames
in interface HttpSession
public void invalidate()
invalidate
in interface HttpSession
public boolean isNew()
isNew
in interface HttpSession
public void putValue(String name, Object value)
putValue
in interface HttpSession
public void removeAttribute(String name)
removeAttribute
in interface HttpSession
public void removeValue(String name)
removeValue
in interface HttpSession
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
public void setMaxInactiveInterval(int ms)
setMaxInactiveInterval
in interface HttpSession
public void setServletContext(ServletContext servletContext)
public void setId(String id)