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

Seed an HttpRequest.Builder from an existing HttpRequest

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      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

              Assignee:
              pconcannon Patrick Concannon
              Reporter:
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: