|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.server.session.AbstractSession
org.eclipse.jetty.server.session.JDBCSessionManager.Session
public class JDBCSessionManager.Session
Session Session instance.
| 构造方法摘要 | |
|---|---|
protected |
JDBCSessionManager.Session(HttpServletRequest request)
Session from a request. |
protected |
JDBCSessionManager.Session(String sessionId,
String rowId,
long created,
long accessed)
Session restored from database |
| 方法摘要 | |
|---|---|
protected boolean |
access(long time)
Entry to session. |
protected void |
complete()
Exit from session |
protected void |
cookieSet()
|
String |
getCanonicalContext()
|
long |
getCookieSet()
|
long |
getExpiryTime()
|
String |
getLastNode()
|
long |
getLastSaved()
|
protected String |
getRowId()
|
String |
getVirtualHost()
|
void |
removeAttribute(String name)
Removes the object bound with the specified name from this session. |
void |
setAttribute(String name,
Object value)
Binds an object to this session, using the name specified. |
void |
setCanonicalContext(String str)
|
void |
setCookieSet(long ms)
|
void |
setExpiryTime(long time)
|
void |
setLastNode(String node)
|
void |
setLastSaved(long time)
|
protected void |
setRowId(String rowId)
|
void |
setVirtualHost(String vhost)
|
protected void |
timeout()
|
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
protected JDBCSessionManager.Session(HttpServletRequest request)
request -
protected JDBCSessionManager.Session(String sessionId,
String rowId,
long created,
long accessed)
sessionId - rowId - created - accessed - | 方法详细信息 |
|---|
protected String getRowId()
protected void setRowId(String rowId)
public void setVirtualHost(String vhost)
public String getVirtualHost()
public long getLastSaved()
public void setLastSaved(long time)
public void setExpiryTime(long time)
public long getExpiryTime()
public void setCanonicalContext(String str)
public String getCanonicalContext()
public void setCookieSet(long ms)
public long getCookieSet()
public void setLastNode(String node)
public String getLastNode()
public void setAttribute(String name,
Object value)
HttpSession 复制的描述After this method executes, and if the new object
implements HttpSessionBindingListener,
the container calls
HttpSessionBindingListener.valueBound. The container then
notifies any HttpSessionAttributeListeners in the web
application.
If an object was already bound to this session of this name
that implements HttpSessionBindingListener, its
HttpSessionBindingListener.valueUnbound method is called.
If the value passed in is null, this has the same effect as calling
removeAttribute().
HttpSession 中的 setAttributeAbstractSession 中的 setAttribute
name - the name to which the object is bound;
cannot be nullvalue - the object to be bound
public void removeAttribute(String name)
HttpSession 复制的描述After this method executes, and if the object
implements HttpSessionBindingListener,
the container calls
HttpSessionBindingListener.valueUnbound. The container
then notifies any HttpSessionAttributeListeners in the web
application.
HttpSession 中的 removeAttributeAbstractSession 中的 removeAttributename - the name of the object to
remove from this sessionprotected void cookieSet()
AbstractSession 中的 cookieSetprotected boolean access(long time)
AbstractSession 中的 accessAbstractSession.access(long)protected void complete()
AbstractSession 中的 completeAbstractSession.complete()
protected void timeout()
throws IllegalStateException
AbstractSession 中的 timeoutIllegalStateExceptionpublic String toString()
AbstractSession 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||