public abstract class ServerBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
static java.lang.String |
WEB_SERVER_CONFIG_FILE_NAME_CGF_KEY |
static java.lang.String |
WEB_SERVER_PORT_CFG_KEY |
static java.lang.String |
WEB_SERVER_WEBAPP_URL_CFG_KEY |
Modifier | Constructor and Description |
---|---|
protected |
ServerBuilder(java.util.Properties p) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.eclipse.jetty.server.Server |
build() |
protected static org.eclipse.jetty.server.Server |
build(java.util.Properties config) |
protected java.util.Properties |
getConfig() |
protected java.lang.String |
getConfigItem(java.lang.String key) |
protected java.lang.String |
getConfigItem(java.lang.String key,
java.lang.String defaultValue) |
public static final java.lang.String WEB_SERVER_PORT_CFG_KEY
public static final java.lang.String WEB_SERVER_CONFIG_FILE_NAME_CGF_KEY
public static final java.lang.String WEB_SERVER_WEBAPP_URL_CFG_KEY
protected static final org.slf4j.Logger log
protected abstract org.eclipse.jetty.server.Server build() throws java.lang.Exception
java.lang.Exception
protected static final org.eclipse.jetty.server.Server build(java.util.Properties config) throws java.lang.Exception
java.lang.Exception
protected java.util.Properties getConfig()
protected java.lang.String getConfigItem(java.lang.String key)
protected java.lang.String getConfigItem(java.lang.String key, java.lang.String defaultValue)