Package | Description |
---|---|
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.
|
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 |
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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.