RFR: 7105350: HttpExchange's attributes are the same as HttpContext's attributes [v8]
Daniel Fuchs
dfuchs at openjdk.org
Mon Oct 13 16:27:03 UTC 2025
On Mon, 13 Oct 2025 16:05:16 GMT, Josiah Noel <duke at openjdk.org> wrote:
>> Now ExchangeImpl will default to having a separate attribute map for the request duration.
>
> Josiah Noel has updated the pull request incrementally with one additional commit since the last revision:
>
> implnote
src/jdk.httpserver/share/classes/module-info.java line 111:
> 109: * Since JDK 26, by default, exchange attributes are per-exchange and the context attributes must
> 110: * be accessed by calling {@link HttpExchange#getHttpContext() getHttpContext()}
> 111: * {@link HttpContext#getAttributes() HttpContext.getAttributes()}. <br>
Suggestion:
* be accessed by calling {@link HttpExchange#getHttpContext() getHttpContext()}{@link
* HttpContext#getAttributes() .getAttributes()}. <br>
Sorry, there was a mistake in my previous suggestion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27652#discussion_r2426798503
More information about the net-dev
mailing list