RFR: 8296804: Document HttpClient configuration properties in java.net.http module-info [v7]

Jaikiran Pai jpai at openjdk.org
Fri Nov 25 07:24:08 UTC 2022


On Thu, 24 Nov 2022 11:18:33 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> Hi,
>> 
>> Could I get the following doc change reviewed please? It documents the system/networking properties used by the java.net.http HTTP client in its module-info. (CSR to follow)
>> 
>> Thanks,
>> Michael
>
> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update to be compatible with JDK-8297030

src/java.net.http/share/classes/module-info.java line 59:

> 57:  * <li><p><b>{@systemProperty jdk.httpclient.connectionWindowSize}</b> (default: 2^26)<br>
> 58:  * The HTTP/2 client connection window size in bytes. The maximum size is 2^31-1. This value cannot be
> 59:  * smaller than the stream window size.

Should this additionally point to the `jdk.httpclient.windowsize` system property? Something like `This value cannot be smaller than the stream window size, which can be configured through {@code jdk.httpclient.windowsize} system property`?

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

PR: https://git.openjdk.org/jdk/pull/11241


More information about the net-dev mailing list