RFR: 8252304: Seed an HttpRequest.Builder from an existing HttpRequest [v10]
Daniel Fuchs
dfuchs at openjdk.java.net
Wed Nov 18 13:43:05 UTC 2020
On Wed, 18 Nov 2020 12:23:15 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:
>> Hi,
>>
>> Could someone please review our code for JDK-8252304: 'Seed an HttpRequest.Builder from an existing HttpRequest'?
>>
>> This RFR proposes a new factory method for creating a new `HttpRequest` builder from an existing `HttpRequest`.
>> This method can be used to build a new request equivalent to the given request, but with different attributes. For instance, it will allow the user to take an existing request and add or change a particular header, provide a new `URI`, etc.
>>
>>
>> Kind regards,
>> Patrick & Chris
>
> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>
> 8252304: Fixed typo in newBuilder example; updated filter test cases to check for value to remove
Marked as reviewed by dfuchs (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1059
More information about the net-dev
mailing list