A Java HTTP Server

后端 未结 10 1936
轮回少年
轮回少年 2021-01-03 08:59

I want to implement a Java HTTP server locally, I mean the server computer would be in my control. I\'m expecting not more than 20 clients to send requests to it. I was wond

10条回答
  •  再見小時候
    2021-01-03 09:01

    There's a simple HTTP server embedded in the Sun 1.6 JRE. It's not JavaEE or servlet-compliant, it's very lightweight, but it might be good enough for your requirements. No need to download any 3rd party stuff if this is all you need.

    The javadocs, rather bizarrely, are out on their own, here.

提交回复
热议问题