Package thredds.server.wms
Class ThreddsWmsServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
uk.ac.rdg.resc.edal.wms.WmsServlet
thredds.server.wms.ThreddsWmsServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@Controller
@RequestMapping("/wms")
public class ThreddsWmsServlet
extends uk.ac.rdg.resc.edal.wms.WmsServlet
An example
WmsServlet which 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:
-
Field Summary
Fields inherited from class uk.ac.rdg.resc.edal.wms.WmsServlet
AXIS_RESOLUTION, DEFAULT_SUPPORTED_CRS_CODES, FEATURE_INFO_HTML_FORMAT, FEATURE_INFO_PLAIN_FORMAT, FEATURE_INFO_XML_FORMAT, velocityEngine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatchWmsRequest(String request, uk.ac.rdg.resc.edal.wms.RequestParams params, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, uk.ac.rdg.resc.edal.wms.WmsCatalogue wmsCatalogue) static voidstatic voidMethods 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, showTimestepsMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
ThreddsWmsServlet
public ThreddsWmsServlet()
-
-
Method Details
-
dispatchWmsRequest
@RequestMapping(value="**", method=GET) protected void dispatchWmsRequest(String request, uk.ac.rdg.resc.edal.wms.RequestParams params, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.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
-
resetCache
public static void resetCache()
-