Class NHttpServerConfig

java.lang.Object
net.thevpc.nserver.ServerConfig
net.thevpc.nserver.http.NHttpServerConfig

public final class NHttpServerConfig extends ServerConfig
Created by vpc on 1/23/17.
  • Constructor Details

    • NHttpServerConfig

      public NHttpServerConfig()
  • Method Details

    • setWorkspaces

      public NHttpServerConfig setWorkspaces(Map<String, NWorkspace> workspaces)
    • getServerId

      public String getServerId()
    • setServerId

      public NHttpServerConfig setServerId(String serverId)
    • getWorkspaces

      public Map<String, NWorkspace> getWorkspaces()
    • isTls

      public boolean isTls()
    • getSslKeystoreCertificate

      public byte[] getSslKeystoreCertificate()
    • setSslKeystoreCertificate

      public NHttpServerConfig setSslKeystoreCertificate(byte[] sslKeystoreCertificate)
    • getSslKeystorePassphrase

      public char[] getSslKeystorePassphrase()
    • setSslKeystorePassphrase

      public NHttpServerConfig setSslKeystorePassphrase(char[] sslKeystorePassphrase)
    • setTls

      public NHttpServerConfig setTls(boolean tls)
    • getAddress

      public InetAddress getAddress()
    • setAddress

      public NHttpServerConfig setAddress(InetAddress address)
    • getPort

      public int getPort()
    • setPort

      public NHttpServerConfig setPort(int port)
    • getBacklog

      public int getBacklog()
    • setBacklog

      public NHttpServerConfig setBacklog(int backlog)
    • getExecutor

      public Executor getExecutor()
    • setExecutor

      public NHttpServerConfig setExecutor(Executor executor)
    • getExecutorCorePoolSize

      public int getExecutorCorePoolSize()
    • setExecutorCorePoolSize

      public NHttpServerConfig setExecutorCorePoolSize(int executorCorePoolSize)
    • getExecutorMaximumPoolSize

      public int getExecutorMaximumPoolSize()
    • setExecutorMaximumPoolSize

      public NHttpServerConfig setExecutorMaximumPoolSize(int executorMaximumPoolSize)
    • getExecutorQueueSize

      public int getExecutorQueueSize()
    • setExecutorQueueSize

      public NHttpServerConfig setExecutorQueueSize(int executorQueueSize)
    • getExecutorIdleTimeSeconds

      public int getExecutorIdleTimeSeconds()
    • setExecutorIdleTimeSeconds

      public NHttpServerConfig setExecutorIdleTimeSeconds(int executorIdleTimeSeconds)