|
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 | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.remote.RemoteApplicationResponse
public abstract class RemoteApplicationResponse
The response returned from a remote application request. This response contains a status flag which tells, generally, what happened durring the response as well as what the response result will look like. It returns a response type which will either be EMPTY, OBJECT or STREAM and it will also contain the task resuts that were returned from the various TaskHandlers that were executed durring the request. <p/> The final piece that will be returned is an up-to-date RemoteApplicationInstance which can be used to make subsequent requests to this server for this instance. <p/> Note: because of special stream handling that we have in place, just because an instance of a particular RemoteApplicationResponse is sent from the producer, it is not guarenteed that the same instance will be recieved on the consumer. Instead there will be a functional equivalent that complys with the contract of this interface but may not contain any additional methods or functions.
| Nested Class Summary | |
|---|---|
static class |
RemoteApplicationResponse.StatusThe status of the execution result. |
static class |
RemoteApplicationResponse.TypeThis returns the type of response. |
| Constructor Summary | |
|---|---|
RemoteApplicationResponse() |
|
| Method Summary | |
|---|---|
abstract RemoteApplicationInstance |
getRemoteApplicationInstance()Returns the current RemoteAdfApplicationInstance. |
abstract java.lang.Object |
getResult()Returns the result based on type. |
abstract RemoteApplicationResponse.Status |
getResultStatus()Returns the current Result Status |
abstract RemoteApplicationResponse.Type |
getResultType()Returns the current Result Type |
java.lang.Object |
getTaskResult(java.lang.String returnId)Returns the result of a particular Task invocation. |
abstract java.util.Map<java.lang.String,java.io.Serializable> |
getTaskResultMap()Returns a unmodifiable map of TaskResults. |
protected java.lang.Object |
writeReplace()To handle streaming requests and optimize the protocol, this method is implemented to return response objects based on type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteApplicationResponse()
| Method Detail |
|---|
public java.lang.Object getTaskResult(java.lang.String returnId)
RemoteApplicationRequest#addTask(java.lang.String,java.lang.Serializable....returnId - the return Id assigned by the addTask methodpublic abstract java.util.Map<java.lang.String,java.io.Serializable> getTaskResultMap()
public abstract RemoteApplicationInstance getRemoteApplicationInstance()
public abstract RemoteApplicationResponse.Status getResultStatus()
public abstract RemoteApplicationResponse.Type getResultType()
public abstract java.lang.Object getResult()
protected java.lang.Object writeReplace()
Note: this method is used by the built-in java serialization system. Please do no refactor.
|
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 | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||