public class ServerUtils extends Object
Constructor and Description |
---|
ServerUtils() |
Modifier and Type | Method and Description |
---|---|
protected static HttpServer |
configureServer(String name,
String host,
int port,
boolean isEnableFileCache,
SpdyAddOn... addons)
Configure
HttpServer based on passed parameters. |
protected static SSLContextConfigurator |
createSSLContextConfigurator()
Initializes SSLContext configurator.
|
protected static SSLEngineConfigurator |
getServerSSLEngineConfigurator()
Initializes SSLEngine configurator.
|
protected static HttpServer configureServer(String name, String host, int port, boolean isEnableFileCache, SpdyAddOn... addons) throws IOException
HttpServer
based on passed parameters.name
- NetworkListener
namehost
- NetworkListener
hostport
- NetworkListener
portisEnableFileCache
- addons
- HttpServer
IOException
protected static SSLEngineConfigurator getServerSSLEngineConfigurator()
protected static SSLContextConfigurator createSSLContextConfigurator()
Copyright © 2015 Oracle Corporation. All rights reserved.