RFR: 8245095: Implementation of JEP 408: Simple Web Server
Julia Boes
jboes at openjdk.java.net
Wed Sep 15 08:22:11 UTC 2021
On Tue, 14 Sep 2021 16:45:08 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Just a rewording, maybe.
>
> Hmm... Maye that should be "The response headers *are sent*". The non-obvious technical details is that the response headers are sent before the body - as soon as you call `sendResponseHeaders`. The link is here to provide a better understanding of the workings of the new Handler. The headers are sent by calling `sendResponseHeaders` on the HttpExchange.
Good point on rephrasing to "The response headers are sent", I'll change that.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5505
More information about the net-dev
mailing list