|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<RemoteApplicationResponse.Status>
oracle.adf.view.rich.remote.RemoteApplicationResponse.Status
public static enum RemoteApplicationResponse.Status
The status of the execution result.
Enum Constant Summary | |
---|---|
ERROR This status will only happen during an execution request and indicates that there was an uncaught exception which was thrown sometime during execution of the FacesServlet. |
|
FAILED_VALIDATION This indicates that the TaskHandler.validateExecution(ExternalContext,Serializable[]) method for a handler failed and returned a result. |
|
OK The response was okay and the result will return an InputStream from the producer. |
|
REDIRECT This status will happen when the remote application issues a redirect. |
|
SESSION_INVALID This status will happen when the session on the remote server is invalid. |
|
TASK_ERROR There was an exception which was thrown by one of the handlers returned from a TaskHandler during remote execution. |
|
VERSION_MISMATCH This indicates that there is a version mismatch between consumer and producer. |
Method Summary | |
---|---|
static RemoteApplicationResponse.Status |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static RemoteApplicationResponse.Status[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RemoteApplicationResponse.Status VERSION_MISMATCH
RemoteApplicationResponse.getResultType()
will either return OBJECT
or empty
and the result will be either the producer's version string (if available) or an empty string if it is not. Additionally, there will be no RemoteApplicationInstance variable on this response.public static final RemoteApplicationResponse.Status FAILED_VALIDATION
TaskHandler.validateExecution(ExternalContext,Serializable[])
method for a handler failed and returned a result. In this case, the value returned from the handler will be returned in RemoteApplicationResponse.getTaskResult(String)
as well as wrapped in a FailedValidationResult
on RemoteApplicationResponse.getResult()
.public static final RemoteApplicationResponse.Status TASK_ERROR
RemoteApplicationResponse.getTaskResult(String)
method. In addition the exception will be wrapped in a TaskResult
and made available in RemoteApplicationResponse.getResult()
.public static final RemoteApplicationResponse.Status ERROR
ErrorResult
.public static final RemoteApplicationResponse.Status SESSION_INVALID
public static final RemoteApplicationResponse.Status REDIRECT
public static final RemoteApplicationResponse.Status OK
Method Detail |
---|
public static RemoteApplicationResponse.Status[] values()
for (RemoteApplicationResponse.Status c : RemoteApplicationResponse.Status.values()) System.out.println(c);
public static RemoteApplicationResponse.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |