public class HTTPSessionHandlerSPIImpl extends AbstractHTTPSessionHandlerSPI
defaultMaxInactiveInterval, requestedSessionId, requestedSessionIdFromCookie, requestedSessionIdFromURL, routingContext, sessionIdParameterName| 构造器和说明 |
|---|
HTTPSessionHandlerSPIImpl(RoutingContext routingContext,
SessionStore sessionStore,
HTTPSessionConfiguration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createSession(CompletableFuture<HTTPSession> ret) |
CompletableFuture<HTTPSession> |
getSession() |
CompletableFuture<HTTPSession> |
getSession(boolean create) |
protected String |
getSessionId(boolean create) |
CompletableFuture<Integer> |
getSessionSize() |
CompletableFuture<Boolean> |
removeSession() |
CompletableFuture<Boolean> |
updateSession(HTTPSession httpSession) |
getHttpSessionFromCookie, getHttpSessionFromURL, getRequestedSessionId, getSessionIdParameterName, init, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURLpublic HTTPSessionHandlerSPIImpl(RoutingContext routingContext, SessionStore sessionStore, HTTPSessionConfiguration configuration)
public CompletableFuture<HTTPSession> getSession()
public CompletableFuture<HTTPSession> getSession(boolean create)
public CompletableFuture<Integer> getSessionSize()
public CompletableFuture<Boolean> removeSession()
public CompletableFuture<Boolean> updateSession(HTTPSession httpSession)
protected String getSessionId(boolean create)
protected void createSession(CompletableFuture<HTTPSession> ret)
Copyright © 2017. All rights reserved.