Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4696506

HTTP client: Improve cookie support

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.0, 1.2.0, 1.3.1, 1.4.0, 5.0
    • core-libs
    • 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)
      ======================================================================

            ywangsunw Yingxian Wang (Inactive)
            caustinsunw Calvin Austin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: