Main
Attributes
- Graph
-
- Supertypes
- Self type
-
Main.type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- X2CpgMain
Stops the server, once it hasn't served any new requests for longer than timeout seconds
Stops the server, once it hasn't served any new requests for longer than timeout seconds
Attributes
- Inherited from:
- FrontendHTTPServer
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
- 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