Package thredds.server.wfs
Class WFSController
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
thredds.server.wfs.WFSController
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@Controller
@RequestMapping("/wfs")
public class WFSController
extends jakarta.servlet.http.HttpServlet
Controller for WFS Simple Geometry Web Service
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconstructServerPath(jakarta.servlet.http.HttpServletRequest hsreq) Constructs the full server URI from a requeststatic StringgetXMLNamespaceXMLNSValue(jakarta.servlet.http.HttpServletRequest hsreq) Gets the namespace associated with the WFS Controller and this specific THREDDS servervoidhttpHandler(jakarta.servlet.http.HttpServletRequest hsreq, jakarta.servlet.http.HttpServletResponse hsres) A handler for WFS based HTTP requests that sends to other request handlers to handle the request.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, 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
-
Field Details
-
TDSNAMESPACE
- See Also:
-
-
Constructor Details
-
WFSController
public WFSController()
-
-
Method Details
-
getXMLNamespaceXMLNSValue
Gets the namespace associated with the WFS Controller and this specific THREDDS server- Parameters:
hsreq- The request which contains the applicable URI of the WFS Controller- Returns:
- the namespace value as "SERVER/PATH"
-
constructServerPath
Constructs the full server URI from a request- Parameters:
hsreq- The relevant request- Returns:
- The URI of the server corresponding to the request
-
httpHandler
@RequestMapping("**") public void httpHandler(jakarta.servlet.http.HttpServletRequest hsreq, jakarta.servlet.http.HttpServletResponse hsres) A handler for WFS based HTTP requests that sends to other request handlers to handle the request. Servlet Path: /wfs/{request}
-