Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
INTERNAL_ERROR |
"<html><body><h2>500 Internal Server Error</h2></body></html>" |
public static final String |
NOT_FOUND |
"<html><body><h2>404 Not found</h2></body></html>" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DEFAULT_ACCEPT_TYPE |
"*/*" |
public static final int |
SPARK_DEFAULT_PORT |
4567 |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
SLASH |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
APPLICATION_CLASS_PARAM |
"applicationClass" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ARRAY_SUFFIX |
"[]" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NO_MIME_TYPE |
"" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CLASSPATH_URL_PREFIX |
"classpath:" |
public static final String |
FILE_URL_PREFIX |
"file:" |
public static final String |
JAR_URL_SEPARATOR |
"!/" |
public static final String |
URL_PROTOCOL_FILE |
"file" |
public static final String |
URL_PROTOCOL_JAR |
"jar" |
public static final String |
URL_PROTOCOL_VFSZIP |
"vfszip" |
public static final String |
URL_PROTOCOL_WSJAR |
"wsjar" |
public static final String |
URL_PROTOCOL_ZIP |
"zip" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALL_PATHS |
"+/*paths" |
Copyright © 2017. All rights reserved.