Integrated: 8252304: Seed an HttpRequest.Builder from an existing HttpRequest

Patrick Concannon pconcannon at openjdk.java.net
Thu Nov 19 09:39:09 UTC 2020


On Wed, 4 Nov 2020 14:51:07 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

This pull request has now been integrated.

Changeset: 9fe2d31d
Author:    Patrick Concannon <pconcannon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9fe2d31d
Stats:     518 lines in 3 files changed: 516 ins; 0 del; 2 mod

8252304: Seed an HttpRequest.Builder from an existing HttpRequest

Co-authored-by: Chris Hegarty <chegar at openjdk.org>
Reviewed-by: chegar, dfuchs, michaelm

-------------

PR: https://git.openjdk.java.net/jdk/pull/1059


More information about the net-dev mailing list