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
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    constructServerPath(jakarta.servlet.http.HttpServletRequest hsreq)
    Constructs the full server URI from a request
    static String
    getXMLNamespaceXMLNSValue(jakarta.servlet.http.HttpServletRequest hsreq)
    Gets the namespace associated with the WFS Controller and this specific THREDDS server
    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.

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WFSController

      public WFSController()
  • Method Details

    • getXMLNamespaceXMLNSValue

      public static String getXMLNamespaceXMLNSValue(jakarta.servlet.http.HttpServletRequest hsreq)
      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

      public static String constructServerPath(jakarta.servlet.http.HttpServletRequest hsreq)
      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}