RFR: 8350279: HttpClient: Add a new HttpResponse method to identify connections [v3]

Volkan Yazici vyazici at openjdk.org
Wed Mar 26 10:49:07 UTC 2025


On Tue, 25 Mar 2025 15:27:00 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> src/java.net.http/share/classes/java/net/http/HttpResponse.java line 108:
>> 
>>> 106:      * The format of the string is opaque, but the content should be unique
>>> 107:      * for the lifetime of the {@link HttpClient} instance.
>>> 108:      *
>> 
>> How about changing the wording to something like:
>> 
>> The format of the string is opaque, but the value will be fixed and unique for any connection, for the lifetime of its {@link HttpClient instance.
>
> How about:
> 
> The format of the string is opaque, but the value is fixed and unique for any connection in the scope of the associated {@link HttpClient} instance.

Implemented in 59a11ccce5e50ab42007ef3c0e03a757c883c2ac.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24154#discussion_r2013871866


More information about the net-dev mailing list