| Package | Description |
|---|---|
| jakarta.servlet.http |
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpServletResponse.addCookie(Cookie cookie)
Adds the specified cookie to the response.
|
void |
HttpServletResponseWrapper.addCookie(Cookie cookie)
The default behavior of this method is to call addCookie(Cookie cookie)
on the wrapped response object.
|
Copyright © 2014–2021. All rights reserved.