Package | Description |
---|---|
org.eclipse.jetty.client | |
org.eclipse.jetty.http | |
org.eclipse.jetty.server | |
org.eclipse.jetty.server.session |
Modifier and Type | Method and Description |
---|---|
void |
HttpDestination.addCookie(HttpCookie cookie) |
Modifier and Type | Method and Description |
---|---|
void |
HttpFields.addSetCookie(HttpCookie cookie)
Format a set cookie value
|
Modifier and Type | Method and Description |
---|---|
HttpCookie |
SessionManager.access(javax.servlet.http.HttpSession session,
boolean secure)
Called by the
SessionHandler when a session is first accessed by a request. |
HttpCookie |
SessionManager.getSessionCookie(javax.servlet.http.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(javax.servlet.http.HttpSession session,
boolean secure) |
HttpCookie |
AbstractSessionManager.getSessionCookie(javax.servlet.http.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-2013 Mort Bay Consulting. All Rights Reserved.