Package dev.enola.web

Interface WebServer

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
NettyHttpServer

public interface WebServer extends AutoCloseable
Web Server API. Intended to be use by both HTML+JS UI and REST API servers. Implementations for this API could be based on e.g. the com.sun.net.httpserver.HttpServer, or Netty, or Jetty or Tomcat or Vert.x - or any other similar such HTTP framework. Please note that there may well also be non-open source implementations which map this API to some proprietary in-house Web Application Frameworks.