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

Seed an HttpRequest.Builder from an existing HttpRequest

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: core-libs
    • Subcomponent:
    • Understanding:
      Cause Known

      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

          Activity

            People

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

              Dates

              • Created:
                Updated: