simple HTTP server in Java using only Java SE API

前端 未结 17 1719
无人共我
无人共我 2020-11-22 13:28

Is there a way to create a very basic HTTP server (supporting only GET/POST) in Java using just the Java SE API, without writing code to manually parse HTTP requests and man

17条回答
  •  悲哀的现实
    2020-11-22 14:10

    You may also have a look at some NIO application framework such as:

    1. Netty: http://jboss.org/netty
    2. Apache Mina: http://mina.apache.org/ or its subproject AsyncWeb: http://mina.apache.org/asyncweb/

提交回复
热议问题