public interface SparkServer
Modifier and Type | Method and Description |
---|---|
void |
ignite(String host,
int port,
String keystoreFile,
String keystorePassword,
String truststoreFile,
String truststorePassword,
String staticFilesRoute,
String externalFilesLocation)
Ignites the spark server, listening on the specified port, running SSL secured with the specified keystore
and truststore.
|
void |
stop()
Stops the spark server
|
void ignite(String host, int port, String keystoreFile, String keystorePassword, String truststoreFile, String truststorePassword, String staticFilesRoute, String externalFilesLocation)
host
- The address to listen onport
- - the portkeystoreFile
- - The keystore file location as stringkeystorePassword
- - the password for the keystoretruststoreFile
- - the truststore file location as string, leave null to reuse keystoretruststorePassword
- - the trust store passwordstaticFilesRoute
- - the route to static files in classPathexternalFilesLocation
- - the route to static files external to classPath.void stop()
Copyright © 2013. All Rights Reserved.