|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Cookie 的软件包 | |
|---|---|
| javax.servlet.http | The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container. |
| org.eclipse.jetty.server | |
| javax.servlet.http 中 Cookie 的使用 |
|---|
| 返回 Cookie 的 javax.servlet.http 中的方法 | |
|---|---|
Cookie[] |
HttpServletRequestWrapper.getCookies()
The default behavior of this method is to return getCookies() on the wrapped request object. |
Cookie[] |
HttpServletRequest.getCookies()
Returns an array containing all of the Cookie
objects the client sent with this request. |
| 参数类型为 Cookie 的 javax.servlet.http 中的方法 | |
|---|---|
void |
HttpServletResponseWrapper.addCookie(Cookie cookie)
The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object. |
void |
HttpServletResponse.addCookie(Cookie cookie)
Adds the specified cookie to the response. |
| org.eclipse.jetty.server 中 Cookie 的使用 |
|---|
| 返回 Cookie 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
Cookie[] |
ServletRequestHttpWrapper.getCookies()
|
Cookie[] |
Request.getCookies()
|
Cookie[] |
CookieCutter.getCookies()
|
| 参数类型为 Cookie 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
void |
ServletResponseHttpWrapper.addCookie(Cookie cookie)
|
void |
Response.addCookie(Cookie cookie)
|
void |
Request.setCookies(Cookie[] cookies)
|
void |
CookieCutter.setCookies(Cookie[] cookies)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||