-
Enhancement
-
Resolution: Fixed
-
P4
-
1.0, 1.2.0, 1.3.1, 1.4.0, 5.0
-
tiger
-
generic, x86
-
generic, solaris_2.6, windows_nt, windows_2000
Name: ca25432 Date: 06/03/2002
Improve cookie support. Currently cookie support is limited
to header set/get and the HTTP API lacks a framework for managing
cookies.
======================================================================
Name: gm110360 Date: 10/07/2002
There are no standard Java classes to support cookies on
the client side, and only limited cookie support for
servlets. At best, clients must directly examine the "Set-
Cookie:" and "Set-Cookie2:" HTTP headers themselves, and
parse the values.
On the server side, support for cookies is limited to the
servlet "Cookie" class APIs, which are basically a set of
instance variable accessor methods only, plus the ability
to retrieve cookies from and add them to a client's
HttpServletRequest object. They do not, however, aid
servlets which also wish to act as HTTP clients in their
own right.
There is no support for collections of cookies, managed as
a single object instance, for either clients or servers.
There is very limited support for handling URL redirections
for HTTP clients (the only option is for the client to deal
with them itself), and no support for managing cookies
during URL redirections.
(Review ID: 165403)
======================================================================
- duplicates
-
JDK-4224548 HttpURLConnection needs support for cookies
- Closed
-
JDK-4134074 Allow Applet to access Cookie
- Closed
- relates to
-
JDK-4909998 Need to add specification for the new "get/setCookieHandler" permission
- Resolved