public class HttpServerConfig extends ModuleConfig
Configuration class for the HTTP server module
Modifier and Type | Field and Description |
---|---|
int |
httpPort |
int |
maxRequestsPerSecond |
String |
servletsRootUrl |
String |
staticDocRootUrl |
List<String> |
users |
enabled, 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(desc="TCP port where HTTP server will listen") public int httpPort
@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(desc="List of users with passwords and roles (format is user: password[, role1, role2 ...]") public List<String> users
Copyright © 2015 Sensia Software LLC. All rights reserved.