Main
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Main.type
Members list
Value members
Concrete methods
method that evaluates frontend with configuration
method that evaluates frontend with configuration
Attributes
Inherited methods
Attributes
- Inherited from:
- X2CpgMain
Starts the HTTP server.
Starts the HTTP server.
This method initializes the underlyingServer
, sets the executor, and adds the appropriate contexts using the FrontendHTTPHandler
. It then starts the server and prints the server's port to stdout. Additionally, a shutdown hook is added to ensure that the server is properly stopped when the application is terminated.
Attributes
- Returns
-
The port this server is bound to which is chosen randomly until success (default number of attempts: 10)
- Inherited from:
- FrontendHTTPServer
Stops the underlying HTTP server if it is running.
Stops the underlying HTTP server if it is running.
This method checks if the underlyingServer
is defined and, if so, stops the server. It also logs a debug message indicating that the server has been stopped. If the server is not running, this method does nothing.
Attributes
- Inherited from:
- FrontendHTTPServer
Inherited fields
Attributes
- Inherited from:
- X2CpgMain
Attributes
- Inherited from:
- X2CpgMain