public interface EmbeddedWebServer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServerURI()
Get the embedded web server's URI.
|
void |
shutdownServer()
Shutdown the embedded web server.
|
java.lang.String |
startupServer(ServerKeyStore keyStore,
BootstrapConfig config,
java.lang.String host,
int port)
Startup the embedded web server using the application server's
KeyStore to
build a suitable SSL context. |
void |
waitInitialization()
Wait for the page to notify that it has fully initialized its JS code.
|
java.lang.String startupServer(ServerKeyStore keyStore, BootstrapConfig config, java.lang.String host, int port)
KeyStore
to
build a suitable SSL context.keyStore
- The exported server KeyStore.config
- Client configuration.port
- An explicit port to start the web server or 0 to let the OS assign one.host
- An explicit host to start the web server or null
to use the server's
host.void shutdownServer()
java.lang.String getServerURI()
void waitInitialization()