public abstract class AbstractHTTPSessionHandlerSPI extends Object implements HTTPSessionHandlerSPI
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
defaultMaxInactiveInterval |
protected String |
requestedSessionId |
protected boolean |
requestedSessionIdFromCookie |
protected boolean |
requestedSessionIdFromURL |
protected RoutingContext |
routingContext |
protected String |
sessionIdParameterName |
| 构造器和说明 |
|---|
AbstractHTTPSessionHandlerSPI(RoutingContext routingContext,
String sessionIdParameterName,
int defaultMaxInactiveInterval) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getHttpSessionFromCookie() |
protected String |
getHttpSessionFromURL() |
String |
getRequestedSessionId() |
String |
getSessionIdParameterName() |
protected void |
init() |
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromURL() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSession, getSession, getSessionSize, removeSession, updateSessionprotected final RoutingContext routingContext
protected String sessionIdParameterName
protected int defaultMaxInactiveInterval
protected boolean requestedSessionIdFromURL
protected boolean requestedSessionIdFromCookie
protected String requestedSessionId
public AbstractHTTPSessionHandlerSPI(RoutingContext routingContext, String sessionIdParameterName, int defaultMaxInactiveInterval)
protected void init()
protected String getHttpSessionFromURL()
protected String getHttpSessionFromCookie()
public boolean isRequestedSessionIdFromURL()
public boolean isRequestedSessionIdFromCookie()
public String getRequestedSessionId()
getRequestedSessionId 在接口中 HTTPSessionHandlerSPIpublic String getSessionIdParameterName()
Copyright © 2017. All rights reserved.