org.n52.wps.server.request
Class CapabilitiesRequest
java.lang.Object
org.n52.wps.server.request.Request
org.n52.wps.server.request.CapabilitiesRequest
- All Implemented Interfaces:
- java.util.concurrent.Callable<Response>
public class CapabilitiesRequest
- extends Request
Handles a CapabilitesRequest
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.