HttpServer Create Convenience Method

Josiah Noel josiahnoel at gmail.com
Sun Oct 26 20:38:46 UTC 2025


The InetSocketAddress may not be a huge burden, but if we can lift that
burden that would be great.
On Tue, Oct 14, 2025 at 4:58 PM Ethan McCue <ethan at mccue.dev> wrote:

> 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/20251026/dbd977c5/attachment.htm>


More information about the net-dev mailing list