Class LocalServer

java.lang.Object
com.mohamnag.jstatic.local_server.LocalServer

public class LocalServer extends Object
Starts a local server that does two things:
  • serves contents of a requested directory over requested port
  • listens to any request with PUT method (no matter which path) and triggers a rebuild
The server can be optionally started with SSL using a self-signed certificate. This server (with or without SSL) is intended for development purposes only and should not be made publicly available.
  • Constructor Details

  • Method Details

    • start

      public void start()