Package org.kobe.xbot.JServer
Class WebInterface
java.lang.Object
org.kobe.xbot.JServer.WebInterface
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 Summary
Modifier and TypeMethodDescriptionstatic WebInterface
initialize
(XTablesServer xTablesServer) Initializes and returns a singleton instance of the WebInterface.
-
Method Details
-
initialize
Initializes and returns a singleton instance of the WebInterface.- Parameters:
xTablesServer
- the associated XTablesServer instance- Returns:
- the singleton WebInterface instance
-