public class HttpServerConfig extends ModuleConfig
Configuration class for the HTTP server module
Modifier and Type | Class and Description |
---|---|
static class |
HttpServerConfig.AuthMethod |
Modifier and Type | Field and Description |
---|---|
HttpServerConfig.AuthMethod |
authMethod |
int |
httpPort |
int |
httpsPort |
String |
keyStorePath |
int |
maxRequestsPerSecond |
String |
servletsRootUrl |
String |
staticDocRootUrl |
String |
trustStorePath |
autoStart, id, moduleClass, name
Constructor and Description |
---|
HttpServerConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getHttpPort() |
String |
getServletsRootUrl() |
void |
setHttpPort(int httpPort) |
void |
setServletsRootUrl(String rootURL) |
clone
@DisplayInfo(label="HTTP Port", desc="TCP port where server will listen for unsecure HTTP connections (use 0 to disable HTTP).") public int httpPort
@DisplayInfo(label="HTTPS Port", desc="TCP port where server will listen for secure HTTP (HTTPS) connections (use 0 to disable HTTPS).") public int httpsPort
@DisplayInfo(desc="Root URL where static web content will be served.") public String staticDocRootUrl
@DisplayInfo(desc="Root URL where the server will accept requests. This will be the prefix to all servlet URLs.") public String servletsRootUrl
@DisplayInfo(desc="Maximum number of requests per second allowed per session/connection") public int maxRequestsPerSecond
@DisplayInfo(label="Authentication Method", desc="Method used to authenticate users on this server") public HttpServerConfig.AuthMethod authMethod
@DisplayInfo(desc="Path to SSL key store") public String keyStorePath
@DisplayInfo(desc="Path to SSL trust store") public String trustStorePath
Copyright © 2016 Sensia Software LLC. All rights reserved.