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 - HttpServerIOExceptionprotected static SSLEngineConfigurator getServerSSLEngineConfigurator()
protected static SSLContextConfigurator createSSLContextConfigurator()
Copyright © 2021 Oracle Corporation. All rights reserved.