public interface SessionManager
Request
.Modifier and Type | Method and Description |
---|---|
String |
changeSessionId(Request request,
Session session)
Change the
Session id and return the original id. |
void |
configureSessionCookie(Request request,
Cookie cookie)
Configure session cookie before adding it to the
Request.getResponse() . |
Session |
createSession(Request request)
|
Session |
getSession(Request request,
String requestedSessionId)
Return the session associated with this Request, creating one
if necessary and requested.
|
Session getSession(Request request, String requestedSessionId)
String changeSessionId(Request request, Session session)
Session
id and return the original id.void configureSessionCookie(Request request, Cookie cookie)
Request.getResponse()
.request
- cookie
- Copyright © 2015 Oracle Corporation. All rights reserved.