RFR: 8331195: Improve com.sun.net.httpserver.HttpExchange usability [v4]
Ethan McCue
duke at openjdk.org
Fri May 3 13:55:54 UTC 2024
On Fri, 3 May 2024 13:38:10 GMT, robert engels <duke at openjdk.org> wrote:
> and people have made do
I think there is cause for this level of analysis. Specifically
* This API, while part of the JDK, is not in widespread professional use
* The intended use-case of the API is now "reducing the "getting startup" effort to serve up a web page." [1][2]
So in that context - that its always going to be a "new" API to those we hope to make use of it - stuff like conceptual gaps (the length is CHUNKED_CONTENT) and footguns (the method that is safer to use is more characters and is named in a way that requires context on how http servers work, not just what they do) at least **feels** important.
[1]: https://mail.openjdk.org/pipermail/core-libs-dev/2024-January/118266.html
[2]: https://openjdk.org/jeps/408
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18955#discussion_r1589236458
More information about the net-dev
mailing list