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

Seed an HttpRequest.Builder from an existing HttpRequest

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 16
    • 16
    • core-libs
    • b26

    Description

      It is useful to be able to create an HttpRequest.Builder from an existing immutable HttpRequest, to say, add some additional headers, or remove some particular header, etc. Doing this in the current API is possible, but more cumbersome than needs be. Consider adding an API point that seeds a new Builder from an existing HttpRequest.

      Attachments

        Issue Links

          Activity

            People

              pconcannon Patrick Concannon (Inactive)
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: