RFR: 8350279: HttpClient: Add a new HttpResponse method to identify connections
Daniel Fuchs
dfuchs at openjdk.org
Mon Mar 24 15:25:15 UTC 2025
On Mon, 24 Mar 2025 14:55:43 GMT, Chen Liang <liach at openjdk.org> wrote:
> Should we specify this, like "The JDK built-in implementation of the {@code HttpClient} always assign a label to connections it create"?
Good question - that would be an `@implNote` - but I'm not sure this is required. The caller can determine whether a connection label is provided by testing whether the optional is empty.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24154#issuecomment-2748512465
More information about the net-dev
mailing list