org.n52.wps.server.request
Class DescribeProcessRequest

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

public class DescribeProcessRequest
extends Request

Handles a DescribeProcessRequest

See Also:
Request

Field Summary
 
Fields inherited from class org.n52.wps.server.request.Request
doc, id, LOGGER, map, SUPPORTED_VERSION
 
Constructor Summary
DescribeProcessRequest(org.apache.commons.collections.map.CaseInsensitiveMap ciMap)
          Creates a DescribeProcessRequest based on a Map (HTTP_GET)
DescribeProcessRequest(org.w3c.dom.Document doc)
          Creates a DescribeProcessRequest based on a Document (SOAP?)
 
Method Summary
 Response call()
          Actually serves the Request.
 java.lang.Object getAttachedResult()
           
 boolean validate()
          Validates the client input
 
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

DescribeProcessRequest

public DescribeProcessRequest(org.apache.commons.collections.map.CaseInsensitiveMap ciMap)
                       throws ExceptionReport
Creates a DescribeProcessRequest based on a Map (HTTP_GET)

Parameters:
ciMap - The client input
Throws:
ExceptionReport

DescribeProcessRequest

public DescribeProcessRequest(org.w3c.dom.Document doc)
                       throws ExceptionReport
Creates a DescribeProcessRequest based on a Document (SOAP?)

Parameters:
doc - The client input
Throws:
ExceptionReport
Method Detail

validate

public boolean validate()
                 throws ExceptionReport
Validates the client input

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

getAttachedResult

public java.lang.Object getAttachedResult()
Specified by:
getAttachedResult in class Request

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:
Response The result of the computation
Throws:
ExceptionReport
See Also:
Callable.call()


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