HttpServer Create Convenience Method

Ethan McCue ethan at mccue.dev
Tue Oct 14 20:58:02 UTC 2025


I think the 0 at the end is worth tackling, it's not too much of a burden
to pass the InetSocketAddress

On Tue, Oct 14, 2025 at 4:56 PM Josiah Noel <josiahnoel at gmail.com> wrote:

> Long time no see,
>
> As you know, to create a server you need to do something like: HttpServer.
> create(new InetSocketAddress(8080), 0);
>
> Perchance would we be amenable to adding a convenience method to make it
> as easy as   HttpServer.create(8080)
>
> --
> Cheers, Josiah.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/net-dev/attachments/20251014/34eedaef/attachment.htm>


More information about the net-dev mailing list