United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4696506 HTTP client: Improve cookie support
JDK-4696506 : HTTP client: Improve cookie support

Details
Type:
Enhancement
Submit Date:
2002-06-03
Status:
Resolved
Updated Date:
2003-08-17
Project Name:
JDK
Resolved Date:
2003-08-17
Component:
core-libs
OS:
solaris_2.6,windows_nt,generic,windows_2000
Sub-Component:
java.net
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.0,1.2.0,1.3.1,1.4.0,5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Duplicate:
Duplicate:
Relates:
Relates:

Sub Tasks

Description

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)
======================================================================

                                    

Comments
EVALUATION



Name: ca25432			Date: 06/03/2002


This feature has been added for Tiger release

======================================================================
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b16


                                     
2004-06-14



Hardware and Software, Engineered to Work Together