|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wps.execute.ExecuteResponse
public class ExecuteResponse
ExecuteResponseType.java Created on 09.03.2006. 23:16:26h WPS Execute operation response. By default, this XML document is delivered to the client in response to an Execute request. If "status" is "false" in the Execute operation request, this document is normally returned when process execution has been completed. If "status" in the Execute request is "true", this response shall be returned as soon as the Execute request has been accepted for processing. In this case, the same XML document is also made available as a web-accessible resource from the URL identified in the statusLocation, and the WPS server shall repopulate it once the process has completed. It may repopulate it on an ongoing basis while the process is executing. However, the response to an Execute request will not include this element in the special case where the output is a single complex value result and the Execute request indicates that "store" is "false". Instead, the server shall return the complex result (e.g., GIF image or GML) directly, without encoding it in the ExecuteResponse. If processing fails in this special case, the normal ExecuteResponse shall be sent, with the error condition indicated. This option is provided to simplify the programming required for simple clients and for service chaining.
Nested Class Summary | |
---|---|
static class |
ExecuteResponse.ProcessOutputs
ProcessOutputs process the outputs |
Field Summary | |
---|---|
protected ExecuteDataInputs |
dataInputs
Inputs that were provided as part of the execute request. |
(package private) boolean |
directResponse
Convenience variable to simplify execute response handling. |
protected Code |
identifier
Identifier of the Process requested to be executed. |
protected OutputDefinitions |
outputDefinitions
Complete list of Output data types that were requested as part of the Execute request. |
protected ExecuteResponse.ProcessOutputs |
processOutputs
List of values of the Process output parameters. |
protected Status |
status
Execution status of this process. |
protected java.lang.String |
statusLocation
The URL referencing the location from which the ExecuteResponse can be retrieved. |
protected java.lang.String |
version
Version of the WPS interface specification implemented by the server. |
Constructor Summary | |
---|---|
ExecuteResponse()
Just an empty constructor. |
|
ExecuteResponse(ExecuteDataInputs dataInputs,
Code identifier,
OutputDefinitions outputDefinitions,
ExecuteResponse.ProcessOutputs processOutputs,
Status status,
java.lang.String statusLocation,
java.lang.String version,
boolean directResponse)
|
Method Summary | |
---|---|
ExecuteDataInputs |
getDataInputs()
|
Code |
getIdentifier()
|
OutputDefinitions |
getOutputDefinitions()
|
ExecuteResponse.ProcessOutputs |
getProcessOutputs()
|
Status |
getStatus()
|
java.lang.String |
getStatusLocation()
|
java.lang.String |
getVersion()
|
boolean |
isDirectResponse()
|
void |
setDataInputs(ExecuteDataInputs dataInputs)
|
void |
setDirectResponse(boolean directResponse)
|
void |
setIdentifier(Code identifier)
|
void |
setOutputDefinitions(OutputDefinitions outputDefinitions)
|
void |
setProcessOutputs(ExecuteResponse.ProcessOutputs processOutputs)
|
void |
setStatus(Status status)
|
void |
setStatusLocation(java.lang.String statusLocation)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Code identifier
protected Status status
protected ExecuteDataInputs dataInputs
protected OutputDefinitions outputDefinitions
protected ExecuteResponse.ProcessOutputs processOutputs
protected java.lang.String statusLocation
protected java.lang.String version
boolean directResponse
Constructor Detail |
---|
public ExecuteResponse(ExecuteDataInputs dataInputs, Code identifier, OutputDefinitions outputDefinitions, ExecuteResponse.ProcessOutputs processOutputs, Status status, java.lang.String statusLocation, java.lang.String version, boolean directResponse)
dataInputs
- identifier
- outputDefinitions
- processOutputs
- status
- statusLocation
- version
- directResponse
- public ExecuteResponse()
Method Detail |
---|
public Code getIdentifier()
public Status getStatus()
public ExecuteDataInputs getDataInputs()
public OutputDefinitions getOutputDefinitions()
public ExecuteResponse.ProcessOutputs getProcessOutputs()
public java.lang.String getStatusLocation()
public java.lang.String getVersion()
public boolean isDirectResponse()
public void setDataInputs(ExecuteDataInputs dataInputs)
dataInputs
- public void setDirectResponse(boolean directResponse)
directResponse
- public void setIdentifier(Code identifier)
identifier
- to setpublic void setOutputDefinitions(OutputDefinitions outputDefinitions)
outputDefinitions
- to setpublic void setProcessOutputs(ExecuteResponse.ProcessOutputs processOutputs)
processOutputs
- to setpublic void setStatus(Status status)
status
- to setpublic void setStatusLocation(java.lang.String statusLocation)
statusLocation
- to setpublic void setVersion(java.lang.String version)
version
- to set
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org