org.n52.wps.server.request
Class ExecuteRequest

java.lang.Object
  extended by org.n52.wps.server.request.Request
      extended by org.n52.wps.server.request.ExecuteRequest
All Implemented Interfaces:
java.util.concurrent.Callable<Response>, IObserver

public class ExecuteRequest
extends Request
implements IObserver

Handles an ExecuteRequest


Field Summary
 
Fields inherited from class org.n52.wps.server.request.Request
doc, id, map, SUPPORTED_VERSION
 
Constructor Summary
ExecuteRequest(org.apache.commons.collections.map.CaseInsensitiveMap ciMap)
           
ExecuteRequest(org.w3c.dom.Document doc)
          Creates an ExecuteRequest based on a Document (HTTP_POST)
 
Method Summary
 Response call()
          Actually serves the Request.
 java.lang.String getAlgorithmIdentifier()
          Gets the identifier of the algorithm the client requested
 java.util.Map<java.lang.String,IData> getAttachedResult()
           
 net.opengis.wps.x100.ExecuteDocument.Execute getExecute()
          Gets the Execute that is associated with this Request
 ExecuteResponseBuilder getExecuteResponseBuilder()
           
 boolean isQuickStatus()
           
 boolean isRawData()
           
 boolean isStoreResponse()
           
 void update(ISubject subject)
           
 boolean validate()
          Validates the client request
 
Methods inherited from class org.n52.wps.server.request.Request
accumulateString, getDocument, getMap, getMapArray, getMapArray, getMapValue, getMapValue, getRequestedVersions, getUniqueId, requireVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteRequest

public ExecuteRequest(org.w3c.dom.Document doc)
               throws ExceptionReport
Creates an ExecuteRequest based on a Document (HTTP_POST)

Parameters:
doc - The clients submission
Throws:
ExceptionReport

ExecuteRequest

public ExecuteRequest(org.apache.commons.collections.map.CaseInsensitiveMap ciMap)
               throws ExceptionReport
Throws:
ExceptionReport
Method Detail

validate

public boolean validate()
                 throws ExceptionReport
Validates the client request

Specified by:
validate in class Request
Returns:
True if the input is valid, False otherwise
Throws:
ExceptionReport

call

public Response call()
              throws ExceptionReport
Actually serves the Request.

Specified by:
call in interface java.util.concurrent.Callable<Response>
Specified by:
call in class Request
Returns:
A Reponse to the client Request
Throws:
ExceptionReport
See Also:
Callable.call()

getAlgorithmIdentifier

public java.lang.String getAlgorithmIdentifier()
Gets the identifier of the algorithm the client requested

Returns:
An identifier

getExecute

public net.opengis.wps.x100.ExecuteDocument.Execute getExecute()
Gets the Execute that is associated with this Request

Returns:
The Execute

getAttachedResult

public java.util.Map<java.lang.String,IData> getAttachedResult()
Specified by:
getAttachedResult in class Request

isStoreResponse

public boolean isStoreResponse()

isQuickStatus

public boolean isQuickStatus()

getExecuteResponseBuilder

public ExecuteResponseBuilder getExecuteResponseBuilder()

isRawData

public boolean isRawData()

update

public void update(ISubject subject)
Specified by:
update in interface IObserver


Copyright © 2007-2011 52north.org. All Rights Reserved.