public class SimpleHttpSession extends Object implements javax.servlet.http.HttpSession
Constructor and Description |
---|
SimpleHttpSession() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attributeName) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated.
|
Object |
getValue(String arg0)
Deprecated.
|
String[] |
getValueNames()
Deprecated.
|
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String arg0,
Object arg1)
Deprecated.
|
void |
removeAttribute(String attributeName) |
void |
removeValue(String arg0)
Deprecated.
|
void |
setAttribute(String attributeName,
Object attributeValue) |
void |
setMaxInactiveInterval(int arg0) |
public Object getAttribute(String attributeName)
getAttribute
in interface javax.servlet.http.HttpSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
@Deprecated public Object getValue(String arg0)
getValue
in interface javax.servlet.http.HttpSession
@Deprecated public String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
@Deprecated public void putValue(String arg0, Object arg1)
putValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String attributeName)
removeAttribute
in interface javax.servlet.http.HttpSession
@Deprecated public void removeValue(String arg0)
removeValue
in interface javax.servlet.http.HttpSession
public void setAttribute(String attributeName, Object attributeValue)
setAttribute
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
Copyright © 2010–2015 com.github.dblock. All rights reserved.