Methods to aid interacting with the server from the CLI
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
isServerAvailable(java.lang.String host = "localhost", int port = 8080) Returns true if the server is available |
|
void |
waitForStartup(java.lang.String host = "localhost", int port = 8080) Waits for the server to startup |
Returns true if the server is available
host
- The hostport
- The portWaits for the server to startup
host
- The hostport
- The port