JDK-4696506 : HTTP client: Improve cookie support
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.0,1.2.0,1.3.1,1.4.0,5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_2.6,windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 2002-06-03
  • Updated: 2017-05-16
  • Resolved: 2003-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
5.0 tigerFixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  

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


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)

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b16

EVALUATION Name: ca25432 Date: 06/03/2002 This feature has been added for Tiger release ======================================================================