Class NHttpServerConfig
java.lang.Object
net.thevpc.nserver.ServerConfig
net.thevpc.nserver.http.NHttpServerConfig
Created by vpc on 1/23/17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintgetPort()byte[]char[]booleanisTls()setAddress(InetAddress address) setBacklog(int backlog) setExecutor(Executor executor) setExecutorCorePoolSize(int executorCorePoolSize) setExecutorIdleTimeSeconds(int executorIdleTimeSeconds) setExecutorMaximumPoolSize(int executorMaximumPoolSize) setExecutorQueueSize(int executorQueueSize) setPort(int port) setServerId(String serverId) setSslKeystoreCertificate(byte[] sslKeystoreCertificate) setSslKeystorePassphrase(char[] sslKeystorePassphrase) setTls(boolean tls) setWorkspaces(Map<String, NWorkspace> workspaces)
-
Constructor Details
-
NHttpServerConfig
public NHttpServerConfig()
-
-
Method Details
-
setWorkspaces
-
getServerId
-
setServerId
-
getWorkspaces
-
isTls
public boolean isTls() -
getSslKeystoreCertificate
public byte[] getSslKeystoreCertificate() -
setSslKeystoreCertificate
-
getSslKeystorePassphrase
public char[] getSslKeystorePassphrase() -
setSslKeystorePassphrase
-
setTls
-
getAddress
-
setAddress
-
getPort
public int getPort() -
setPort
-
getBacklog
public int getBacklog() -
setBacklog
-
getExecutor
-
setExecutor
-
getExecutorCorePoolSize
public int getExecutorCorePoolSize() -
setExecutorCorePoolSize
-
getExecutorMaximumPoolSize
public int getExecutorMaximumPoolSize() -
setExecutorMaximumPoolSize
-
getExecutorQueueSize
public int getExecutorQueueSize() -
setExecutorQueueSize
-
getExecutorIdleTimeSeconds
public int getExecutorIdleTimeSeconds() -
setExecutorIdleTimeSeconds
-