Package | Description |
---|---|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.session |
Jetty Server : Session Management Implementations
|
Modifier and Type | Method and Description |
---|---|
HttpCookie |
SessionManager.access(HttpSession session,
boolean secure)
Called by the
SessionHandler when a session is first accessed by a request. |
HttpCookie |
SessionManager.getSessionCookie(HttpSession session,
String contextPath,
boolean requestIsSecure)
Gets a Cookie for a session.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.addCookie(HttpCookie cookie) |
Modifier and Type | Method and Description |
---|---|
HttpCookie |
AbstractSessionManager.access(HttpSession session,
boolean secure) |
HttpCookie |
AbstractSessionManager.getSessionCookie(HttpSession session,
String contextPath,
boolean requestIsSecure)
A sessioncookie is marked as secure IFF any of the following conditions are true:
SessionCookieConfig.setSecure == true
SessionCookieConfig.setSecure == false && _secureRequestOnly==true && request is HTTPS
According to SessionCookieConfig javadoc, case 1 can be used when:
"...
|
Copyright © 1995-2015 Webtide. All Rights Reserved.