Class WebServer

java.lang.Object
com.djrapitops.plan.delivery.webserver.WebServer
All Implemented Interfaces:
SubSystem

@Singleton public class WebServer extends Object implements SubSystem
  • Constructor Details

  • Method Details

    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • isEnabled

      public boolean isEnabled()
      Returns:
      if the WebServer is enabled
    • disable

      public void disable()
      Shuts down the server - Async thread is closed with shutdown boolean.
      Specified by:
      disable in interface SubSystem
    • getProtocol

      public String getProtocol()
    • isUsingHTTPS

      public boolean isUsingHTTPS()
    • isAuthRequired

      public boolean isAuthRequired()
    • getPort

      public int getPort()