RFR: 8209137: Add ability to bind to specific local address to HTTP client [v18]
Jaikiran Pai
jpai at openjdk.java.net
Tue May 10 13:51:38 UTC 2022
On Tue, 10 May 2022 12:37:47 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> This change proposes to implement the enhancement noted in https://bugs.openjdk.java.net/browse/JDK-8209137.
>>
>> The change introduces a new API to allow applications to build a `java.net.http.HTTPClient` configured with a specific local address that will be used while creating `Socket`(s) for connections.
>
> Jaikiran Pai has updated the pull request incrementally with two additional commits since the last revision:
>
> - Daniel's review suggestion - add a test to verify the behaviour of the localAddress() default method implementation on HttpClient.Builder
> - Daniel's review suggestion - remove reference to "Internet Protocol" in javadoc
I've triggered some internal CI runs against the current state of PR to see all works fine. Now that we have decided on the nature of this API, I'll go ahead and file a CSR for this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6690
More information about the net-dev
mailing list