Class WebServer

  • All Implemented Interfaces:
    SubSystem

    @Singleton
    public class WebServer
    extends java.lang.Object
    implements SubSystem
    • Method Detail

      • 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 java.lang.String getProtocol()
      • isUsingHTTPS

        public boolean isUsingHTTPS()
      • isAuthRequired

        public boolean isAuthRequired()
      • getPort

        public int getPort()