public final class RequestMode extends Enum
The request mode affects how a request will be processed.
Modifier and Type | Field and Description |
---|---|
static RequestMode |
Extended
Extended mode.
|
static RequestMode |
Fusion
Full Fusion application environment mode with CP extensions.
|
static RequestMode |
Standard
Standard mode.
|
static RequestMode |
Undefined
Undefined mode.
|
static RequestMode |
Unknown
Unknown or invalid mode.
|
Modifier and Type | Method and Description |
---|---|
static RequestMode |
fromString(String requestModeStr)
Converts a stringified request mode into a RequestMode object.
|
String |
toString(Locale locale)
Enterprise Manager support to acquire a localized string value.
|
int |
value()
The numeric value associated with the RequestMode.
|
static RequestMode |
valueOf(int value)
The RequestMode associated with the given value.
|
static RequestMode |
valueOf(String name) |
static RequestMode[] |
values() |
public static final RequestMode Unknown
public static final RequestMode Undefined
An unvalidated request is set to this mode. It will be set to the the appropriate mode once it is successfully validated.
public static final RequestMode Standard
No Fusion support.
public static final RequestMode Fusion
Request processing adheres to the behavior of Fusion with CP extensions.
public static final RequestMode Extended
In general, the request should be capable of running in Standard mode but the processing may use certain Fusion features such as ApplSession and Attachments API. The application logic would typically not require such features or at least do so in some flexible or dynamic manner.
public static RequestMode[] values()
public static RequestMode valueOf(String name)
public int value()
public static RequestMode valueOf(int value)
value
- the value to convert to request mode.public static RequestMode fromString(String requestModeStr)
requestModeStr
- the string to convertrequestModeStr
,
or RequestMode.Unknown
if the conversion could not be made.