类 org.eclipse.jetty.http.HttpCookie
的使用

使用 HttpCookie 的软件包
org.eclipse.jetty.client   
org.eclipse.jetty.http   
org.eclipse.jetty.server   
org.eclipse.jetty.server.session   
 

org.eclipse.jetty.clientHttpCookie 的使用
 

参数类型为 HttpCookieorg.eclipse.jetty.client 中的方法
 void HttpDestination.addCookie(HttpCookie cookie)
           
 

org.eclipse.jetty.httpHttpCookie 的使用
 

参数类型为 HttpCookieorg.eclipse.jetty.http 中的方法
 void HttpFields.addSetCookie(HttpCookie cookie)
          Format a set cookie value
 

org.eclipse.jetty.serverHttpCookie 的使用
 

返回 HttpCookieorg.eclipse.jetty.server 中的方法
 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.
 

参数类型为 HttpCookieorg.eclipse.jetty.server 中的方法
 void Response.addCookie(HttpCookie cookie)
           
 

org.eclipse.jetty.server.sessionHttpCookie 的使用
 

返回 HttpCookieorg.eclipse.jetty.server.session 中的方法
 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: "... even though the request that initiated the session came over HTTP, is to support a topology where the web container is front-ended by an SSL offloading load balancer.
 



Copyright © 2013. All Rights Reserved.