RFR: 8331195: Improve com.sun.net.httpserver.HttpExchange usability [v3]
Daniel Fuchs
dfuchs at openjdk.org
Wed May 1 13:50:53 UTC 2024
On Wed, 1 May 2024 13:26:39 GMT, robert engels <duke at openjdk.org> wrote:
> I might prefer `OS beginChunkedResponse()` and `OS beginFixedResponse()`.
That's not a bad suggestion (whether startXxxx or beginXxxx). My gripe with `OS sendResponseHeadersXxxxx` is that the existing `void sendResponseHeaders` returns `void`, and it would look strange for the new look-alike methods to suddenly return an `OutputStream`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18955#issuecomment-2088491738
More information about the net-dev
mailing list