RFR: 8368955: Improve HttpExchange.sendResponseHeaders usability [v2]

Jaikiran Pai jpai at openjdk.org
Fri Oct 3 05:14:50 UTC 2025


On Fri, 3 Oct 2025 04:52:59 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Josiah Noel has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   pr comments
>
> src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java line 80:
> 
>> 78: 
>> 79:      /**
>> 80:       * The response body is unspecified and will be chunk encoded
> 
> Nit - maybe reword this as "The response body will be chunk encoded" and remove any mention of unspecified?

Additionally, both these new fields should have a `@since 26`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27613#discussion_r2400811184


More information about the net-dev mailing list