Interface HttpServer

    • Method Detail

      • isRunning

        boolean isRunning()
        Check if the server is running.
        Returns:
        true if it is, false otherwise.
      • start

        void start()
        Start the server.
      • stop

        void stop()
        Stop the server.
      • getServerPort

        int getServerPort()
        Get the server port
        Returns:
        the server port
      • setServerPort

        void setServerPort​(int serverPort)
        Set the server port
        Parameters:
        serverPort - the port
      • getSSL

        boolean getSSL()
        Get the SSL flag
        Returns:
        the server port
      • setSSL

        void setSSL​(boolean ssl)
        Set the SSL flag
        Parameters:
        ssl - the SSL flag
      • getHttpServerProcessor

        HttpServerProcessor getHttpServerProcessor()
        Get the http server processor
        Returns:
        the http server processor
      • setHttpServerProcessor

        void setHttpServerProcessor​(HttpServerProcessor httpServerProcessor)
        Set the http server processor
        Parameters:
        httpServerProcessor - the http server processor