deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.ogcwebservices.wms
Class DefaultGetMapHandler

java.lang.Object
  extended by 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
           
 
Constructor Summary
DefaultGetMapHandler(WMSConfigurationType configuration, GetMap request)
          Creates a new GetMapHandler object.
 
Method Summary
 WMSConfigurationType getConfiguration()
          returns the configuration used by the handler
protected  GetMap getRequest()
           
protected  CoordinateSystem getRequestCRS()
           
 OGCWebServiceResponse performGetMap()
          performs a GetMap request and retruns the result encapsulated within a GetMapResult object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version130

boolean version130
Constructor Detail

DefaultGetMapHandler

public DefaultGetMapHandler(WMSConfigurationType configuration,
                            GetMap request)
Creates a new GetMapHandler object.

Parameters:
configuration -
request - request to perform
Method Detail

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

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net