Class ServerLauncher

java.lang.Object
javadocofflinesearch.server.ServerLauncher
All Implemented Interfaces:
Runnable

public class ServerLauncher extends Object implements Runnable
wrapper around tiny http server to separate lunch configurations and servers. to allow terminations and stuff around.
  • Constructor Details

    • ServerLauncher

      public ServerLauncher(int port)
  • Method Details

    • isRunning

      public boolean isRunning()
    • getPort

      public Integer getPort()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • stop

      public void stop()