Package thredds.server.wms
Class ThreddsWmsServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- uk.ac.rdg.resc.edal.wms.WmsServlet
-
- thredds.server.wms.ThreddsWmsServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@Controller @RequestMapping("/wms") public class ThreddsWmsServlet extends uk.ac.rdg.resc.edal.wms.WmsServletAn exampleWmsServletwhich uses the THREDDS catalogue to supply data. This is example is well commented and demonstrates how to properly integrate the EDAL WMS into the THREDDS catalogue. It doesn't show how to implement caching, or WMS-specific configuration, but these things are recommended in the final version.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThreddsWmsServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatchWmsRequest(String request, uk.ac.rdg.resc.edal.wms.RequestParams params, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, uk.ac.rdg.resc.edal.wms.WmsCatalogue wmsCatalogue)static voidresetCache()static voidshowCache(Formatter formatter)-
Methods inherited from class uk.ac.rdg.resc.edal.wms.WmsServlet
addVariablesToArray, doGet, extractSectionElevation, getCapabilities, getCatalogue, getCrsCodes, getFeatureInfo, getFeatureInfoValuesFromFeature, getLegendGraphic, getMap, getMetadata, getTimeseries, getTransect, getVerticalProfile, handleWmsException, setCapabilitiesAdvertisedPalettes, setCatalogue, setCrsCodes, showAnimationTimesteps, showLayerDetails, showMenu, showMinMax, showTimesteps
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
dispatchWmsRequest
@RequestMapping(value="**", method=GET) protected void dispatchWmsRequest(String request, uk.ac.rdg.resc.edal.wms.RequestParams params, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, uk.ac.rdg.resc.edal.wms.WmsCatalogue wmsCatalogue) throws Exception- Overrides:
dispatchWmsRequestin classuk.ac.rdg.resc.edal.wms.WmsServlet- Throws:
Exception
-
showCache
public static void showCache(Formatter formatter)
-
resetCache
public static void resetCache()
-
-