org.deegree_impl.services.wms
Class WMService_Impl
java.lang.Object
org.deegree_impl.services.OGCWebService_Impl
org.deegree_impl.services.wms.WMService_Impl
- All Implemented Interfaces:
- OGCWebService
- public class WMService_Impl
- extends OGCWebService_Impl
- Since:
- 1.1
- Version:
- $Revision: 1.33 $, 1.0. $Revision: 1.33 $, $Date: 2004/05/26 08:50:48 $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
private static WMSCache cache
capabilities
private WMSCapabilities capabilities
WMService_Impl
public WMService_Impl(WMSCapabilities capabilities)
- Creates a new WMService_Impl object.
- Parameters:
capabilities
-
doService
public void doService(OGCWebServiceEvent event)
throws WebServiceException
- receives a WMS request and deligates it to the responsible handle-methods
- Parameters:
event
- any WMS-request
- Throws:
WebServiceException
doService
public OGCWebServiceResponse doService(OGCWebServiceRequest request)
throws WebServiceException
- the method performs the handling of the passed OGCWebServiceEvent directly
and returns the result to the calling class/method
- Parameters:
request
- request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
- Throws:
WebServiceException
createHandler
private java.lang.Object createHandler(OGCWebServiceRequest request,
java.lang.Class requestClass,
int operationType)
throws WebServiceException
- creates a handler class for performing the incomming request. The instance
that will be created depends on the responsible class the for the submitted
request in the WMS capabilities/configuration.
- Parameters:
request
- request to be performedrequestClass
- of the request (WMSGetStylesRequest, WMSFeatureInfoRequest etc.)operationType
- type of the operation to perform by the handler
- Throws:
WebServiceException
handleGetCapabilities
private WMSGetCapabilitiesResponse handleGetCapabilities(WMSGetCapabilitiesRequest request)
throws WebServiceException
- reads/creates the capabilities of the WMS.
- Parameters:
request
- capabilities request
- Throws:
WebServiceException
handleGetStyles
private WMSGetStylesResponse handleGetStyles(WMSGetStylesRequest request)
- Parameters:
request
- get styles request (WMS 1.1.1 - SLD)
handlePutStyles
private void handlePutStyles(WMSPutStylesRequest request)
- Parameters:
request
- put styles request (WMS 1.1.1 - SLD)
handleDescribeLayer
private void handleDescribeLayer(WMSDescribeLayerRequest request)
- Parameters:
request
- describe layer request (WMS 1.1.1 - SLD)
handleGetLegendGraphic
private OGCWebServiceResponse handleGetLegendGraphic(WMSGetLegendGraphicRequest request)
throws WebServiceException
- Parameters:
request
-
- Returns:
-
- Throws:
WebServiceException
handleGetScaleBar
private OGCWebServiceResponse handleGetScaleBar(WMSGetScaleBarRequest request)
throws WebServiceException
- Throws:
WebServiceException