Class WebInterface

java.lang.Object
org.kobe.xbot.JServer.WebInterface

public class WebInterface extends Object
WebInterface - A class for managing the XTABLES web user interface.

This class is responsible for starting and managing the web server that provides a user interface for interacting with the XTABLES server. It serves static content and exposes API endpoints for retrieving system and client statistics, as well as rebooting the server.

Author: Kobe Lei Version: 1.0 Package: XTABLES

  • Method Details

    • initialize

      public static WebInterface initialize(XTablesServer xTablesServer)
      Initializes and returns a singleton instance of the WebInterface.
      Parameters:
      xTablesServer - the associated XTablesServer instance
      Returns:
      the singleton WebInterface instance