public enum EResponseType extends Enum<EResponseType>
Enum Constant and Description |
---|
EMPTY
Only sends response headers with the HTTP response, but no body content.
|
HTML
Sends an HTML document as the HTTP response.
|
JSON
Sends a JSON string as the HTTP response.
|
SHOW_FILE
Sends a binary file as the HTTP response.
|
TEMPLATE
Sends a custom HTML template as the HTTP response.
|
TEMPLATE_SYSTEM
Sends a system HTML template as the HTTP response.
|
WEITERLEITUNG
Send a redirect (usually 303) as the HTTP response.
|
XML
Sends an XMLstring as the HTTP response.
|
Modifier and Type | Method and Description |
---|---|
static EResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EResponseType SHOW_FILE
public static final EResponseType TEMPLATE_SYSTEM
Textbaustein
public static final EResponseType WEITERLEITUNG
public static final EResponseType TEMPLATE
Textbaustein
public static final EResponseType HTML
public static final EResponseType JSON
public static final EResponseType XML
public static final EResponseType EMPTY
public static EResponseType[] values()
for (EResponseType c : EResponseType.values()) System.out.println(c);
public static EResponseType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.