public final class LaunchConfigFactory.Property extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADDRESS
The address to bind to.
|
static String |
HANDLER_FACTORY
The full qualified classname of the handler factory (required).
|
static String |
INDEX_FILES
The comma separated list of file names of files that can be served in place of a directory.
|
static String |
MAX_CONTENT_LENGTH
The max conent lenght.
|
static String |
PORT
The port to listen for requests on.
|
static String |
PUBLIC_ADDRESS
The public address of the site.
|
static String |
RELOADABLE
Whether to reload the application if the script changes at runtime.
|
static String |
SSL_KEYSTORE_FILE
The absolute file path, URI or classpath location of the SSL keystore file.
|
static String |
SSL_KEYSTORE_PASSWORD
The password for the SSL keystore file.
|
static String |
THREADS
The number of worker threads to use.
|
public static final String PORT
LaunchConfig.DEFAULT_PORT
. Value: "port"
LaunchConfig.getPort()
,
Constant Field Valuespublic static final String ADDRESS
null
(all addresses). If the value is not null
, it will converted to an Inet Address via InetAddress.getByName(String)
.
Value: "address" - (inet address)
public static final String RELOADABLE
false
. Value: "reloadable" - (boolean)
public static final String HANDLER_FACTORY
This class MUST implement HandlerFactory
and have a public no-arg constructor.
Value: "handlerFactory" - (string)
public static final String THREADS
Value: "threads" - (int)
public static final String PUBLIC_ADDRESS
If the value is not null
, it will converted to an URL.
Value: "publicAddress" - (url)
public static final String INDEX_FILES
If the value is not null
, it will be converted to a string list by splitting on ",".
Value: "indexFiles" - (comma separated string list)
public static final String SSL_KEYSTORE_FILE
public static final String SSL_KEYSTORE_PASSWORD
public static final String MAX_CONTENT_LENGTH