JEP proposed to target JDK 18: 408: Simple Web Server

Julia Boes julia.boes at
Mon Oct 11 12:47:57 UTC 2021

Hi Eric,

On 09/10/2021 15:12, Eric Bresie wrote:
> Given more emphasis on security in recent years, would https support be
> worth including as well?  Or is this intentionally out of scope and adds
> unwanted complexity to the “Simple Web Server” intent of the JEP?

That’s right, HTTPS support is out of the scope of this JEP. If secure
communication with SSL is required, the Simple Web Server is not the right
choice, and we don’t want to give the impression that it is. This being said,
the package offers support for HTTPS. We’re planning to
publish an article on how to set up a HTTPS server that uses the Simple Web
Server’s file handler.

> Does this overlap/depend on changes to recent JEP-321 (
> ) changes?

This JEP does not depend on JEP 321: HttpClient. The functionality is
server-side only and based on the web server implementation in the package, which has been included in the JDK since 2006.
The package is officially supported, and all we do is extend it with APIs to
simplify server creation and enhance request handling.

> As an aspiring JDK committee/reviewer, I know I don’t yet meet the
> “Committers or Reviewer” critters but was hoping the input is still valid.
> If this is not the place to provide such input I would welcome know where
> to do so..

Input is always welcome, and the mailing lists are exactly the right place to
share it.


More information about the jdk-dev mailing list