jdk.httpserver and HTTP/2 support ?

Daniel Fuchs daniel.fuchs at oracle.com
Tue Nov 9 10:36:14 UTC 2021


Hi Pierre,

On 09/11/2021 08:55, pierre.viret at postfinance.ch wrote:
> Hi
> 
> I think that the HttpServer delivered within the JDK does not support 
> HTTP/2 yet, I didn’t find any clue about it. Is there any plan to add 
> this support in a near future?

The jdk.net.httpserver only supports HTTP/1.1. It's mostly useful for
testing and educational purpose, and there's no plan to extend it to
support HTTP/2 at this time.

best regards,

-- daniel


> 
> Regards,
> 
> Pierre
> 
> 
> 
> Remarque concernant la sécurité: Ce courriel provenant de PostFinance 
> est signé. Vous trouverez d'autres informations à ce sujet sous: 
> https://www.postfinance.ch/e-signature. Ne divulguez jamais vos éléments 
> de sécurité à des tiers.
> 



More information about the net-dev mailing list