Mechanism to set CookieHandler per connection needed

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 6u24
    • Component/s: core-libs
    • None
    • generic
    • generic

      The JavaFX WebView project would benefit greatly from being able to set a custom CookieHandler for an individual connection or a group of connections. The current ability to configure the system-wide cookie handler via CookieHandler.setDefault does not suit well enough the WebView needs, especially in the applet mode, resulting in issues like http://javafx-jira.kenai.com/browse/RT-12202, http://javafx-jira.kenai.com/browse/RT-12199, http://javafx-jira.kenai.com/browse/RT-12200. It (the current mechanism) does not look flexible enough too. If HttpURLConnection allowed setting a CookieHandler per connection via e.g.

          void HttpURLConnection.setCookieHandler(CookieHandler)
          CookieHandler HttpURLConnection.setCookieHandler()

      that would make the future of JavaFX WebView somewhat simpler.

            Assignee:
            Chris Hegarty
            Reporter:
            Vasiliy Baranov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: