public class JSession extends Object implements javax.servlet.http.HttpSession
| 构造器和说明 |
|---|
JSession(com.jfinal.core.Controller controller) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAttribute(String key) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext() |
Object |
getValue(String key) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(String key,
Object value) |
void |
removeAttribute(String key) |
void |
removeValue(String key) |
void |
setAttribute(String key,
Object value) |
void |
setMaxInactiveInterval(int arg0) |
public Object getAttribute(String key)
getAttribute 在接口中 javax.servlet.http.HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames 在接口中 javax.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime 在接口中 javax.servlet.http.HttpSessionpublic String getId()
getId 在接口中 javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime 在接口中 javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval 在接口中 javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext 在接口中 javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext 在接口中 javax.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames 在接口中 javax.servlet.http.HttpSessionpublic void invalidate()
invalidate 在接口中 javax.servlet.http.HttpSessionpublic boolean isNew()
isNew 在接口中 javax.servlet.http.HttpSessionpublic void putValue(String key, Object value)
putValue 在接口中 javax.servlet.http.HttpSessionpublic void removeAttribute(String key)
removeAttribute 在接口中 javax.servlet.http.HttpSessionpublic void removeValue(String key)
removeValue 在接口中 javax.servlet.http.HttpSessionpublic void setAttribute(String key, Object value)
setAttribute 在接口中 javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval 在接口中 javax.servlet.http.HttpSessionCopyright © 2018. All rights reserved.