org.n52.wps.server.request
Class CapabilitiesRequest

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

public class CapabilitiesRequest
extends Request

Handles a CapabilitesRequest


Field Summary
 
Fields inherited from class org.n52.wps.server.request.Request
doc, id, LOGGER, map, SUPPORTED_VERSION
 
Constructor Summary
CapabilitiesRequest(org.apache.commons.collections.map.CaseInsensitiveMap ciMap)
          Creates a CapabilitesRequest based on a Map (HTTP_GET)
CapabilitiesRequest(org.w3c.dom.Document doc)
           
 
Method Summary
 Response call()
          Actually serves the Request.
 java.lang.Object getAttachedResult()
          Not used in this class.
 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

CapabilitiesRequest

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

Parameters:
ciMap - The client input
Throws:
ExceptionReport

CapabilitiesRequest

public CapabilitiesRequest(org.w3c.dom.Document doc)
                    throws ExceptionReport
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

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()

getAttachedResult

public java.lang.Object getAttachedResult()
Not used in this class. Returns null;

Specified by:
getAttachedResult in class Request


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