org.deegree.services.wms.controller
Class WMSControllerBase

java.lang.Object
  extended by org.deegree.services.wms.controller.WMSControllerBase
All Implemented Interfaces:
WMSController.Controller
Direct Known Subclasses:
WMSController111, WMSController130

public abstract class WMSControllerBase
extends java.lang.Object
implements WMSController.Controller

WMSControllerBase

Version:
$Revision: 28066 $, $Date: 2010-11-12 12:13:29 +0100 (Fr, 12. Nov 2010) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Field Summary
protected  java.lang.String EXCEPTION_BLANK
           
protected  java.lang.String EXCEPTION_DEFAULT
           
protected  java.lang.String EXCEPTION_INIMAGE
           
protected  java.lang.String EXCEPTION_MIME
           
protected  XMLExceptionSerializer<OWSException> EXCEPTIONS
           
 
Constructor Summary
WMSControllerBase()
           
 
Method Summary
protected abstract  void exportCapas(java.lang.String getUrl, java.lang.String postUrl, MapService service, HttpResponseBuffer response, ServiceIdentificationType identification, ServiceProviderType provider, WMSController controller)
           
 void getCapabilities(java.lang.String getUrl, java.lang.String postUrl, java.lang.String updateSequence, MapService service, HttpResponseBuffer response, ServiceIdentificationType identification, ServiceProviderType provider, java.util.Map<java.lang.String,java.lang.String> customParameters, WMSController controller)
           
 void handleException(java.util.Map<java.lang.String,java.lang.String> map, org.deegree.protocol.wms.WMSConstants.WMSRequestType req, OWSException e, HttpResponseBuffer response, WMSController controller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wms.controller.WMSController.Controller
sendException, throwSRSException
 

Field Detail

EXCEPTION_DEFAULT

protected java.lang.String EXCEPTION_DEFAULT

EXCEPTION_INIMAGE

protected java.lang.String EXCEPTION_INIMAGE

EXCEPTION_BLANK

protected java.lang.String EXCEPTION_BLANK

EXCEPTIONS

protected XMLExceptionSerializer<OWSException> EXCEPTIONS

EXCEPTION_MIME

protected java.lang.String EXCEPTION_MIME
Constructor Detail

WMSControllerBase

public WMSControllerBase()
Method Detail

handleException

public void handleException(java.util.Map<java.lang.String,java.lang.String> map,
                            org.deegree.protocol.wms.WMSConstants.WMSRequestType req,
                            OWSException e,
                            HttpResponseBuffer response,
                            WMSController controller)
                     throws javax.servlet.ServletException
Specified by:
handleException in interface WMSController.Controller
Throws:
javax.servlet.ServletException

getCapabilities

public void getCapabilities(java.lang.String getUrl,
                            java.lang.String postUrl,
                            java.lang.String updateSequence,
                            MapService service,
                            HttpResponseBuffer response,
                            ServiceIdentificationType identification,
                            ServiceProviderType provider,
                            java.util.Map<java.lang.String,java.lang.String> customParameters,
                            WMSController controller)
                     throws OWSException,
                            java.io.IOException
Specified by:
getCapabilities in interface WMSController.Controller
Throws:
OWSException
java.io.IOException

exportCapas

protected abstract void exportCapas(java.lang.String getUrl,
                                    java.lang.String postUrl,
                                    MapService service,
                                    HttpResponseBuffer response,
                                    ServiceIdentificationType identification,
                                    ServiceProviderType provider,
                                    WMSController controller)
                             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.