org.deegree.ogcwebservices.wms
Class DefaultGetMapHandler
java.lang.Object
org.deegree.ogcwebservices.wms.DefaultGetMapHandler
- All Implemented Interfaces:
- GetMapHandler
public class DefaultGetMapHandler
- extends Object
- implements GetMapHandler
- Version:
- $Revision: 9697 $
- Author:
- Andreas Poth
Field Summary |
(package private) boolean |
version130
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version130
boolean version130
DefaultGetMapHandler
public DefaultGetMapHandler(WMSConfigurationType configuration,
GetMap request)
- Creates a new GetMapHandler object.
- Parameters:
configuration
- request
- request to perform
getConfiguration
public WMSConfigurationType getConfiguration()
- returns the configuration used by the handler
- Returns:
- the configuration document
performGetMap
public OGCWebServiceResponse performGetMap()
throws OGCWebServiceException
- performs a GetMap request and retruns the result encapsulated within a GetMapResult
object.
The method throws an WebServiceException that only shall be thrown if an fatal error occurs
that makes it imposible to return a result. If something wents wrong performing the request
(none fatal error) The exception shall be encapsulated within the response object to be
returned to the client as requested (GetMap-Request EXCEPTION-Parameter).
- Specified by:
performGetMap
in interface GetMapHandler
- Returns:
- response to the GetMap response
- Throws:
OGCWebServiceException
getRequest
protected GetMap getRequest()
- Returns:
- the request that is being handled
getRequestCRS
protected CoordinateSystem getRequestCRS()
- Returns:
- the requests coordinate system
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net