Class ServerLauncher

  • All Implemented Interfaces:
    java.lang.Runnable

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

      Constructors 
      Constructor Description
      ServerLauncher​(int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getPort()  
      boolean isRunning()  
      void run()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerLauncher

        public ServerLauncher​(int port)
    • Method Detail

      • isRunning

        public boolean isRunning()
      • getPort

        public java.lang.Integer getPort()
      • run

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

        public void stop()