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

Chen Liang liach at openjdk.org
Mon Mar 24 14:58:13 UTC 2025


On Mon, 24 Mar 2025 10:44:13 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> > If we cannot make any assumption about the empty return value, can users make any assumption that a HttpResponse obtained from the JDK built-in HttpClient always return non-empty for the label?
> Yes.

Should we specify this, like "The JDK built-in implementation of the {@code HttpClient} always assign a label to connections it create"?

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

PR Comment: https://git.openjdk.org/jdk/pull/24154#issuecomment-2748414958


More information about the net-dev mailing list