Package thredds.server.wfs
Class WFSController
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- thredds.server.wfs.WFSController
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@Controller @RequestMapping("/wfs") public class WFSController extends javax.servlet.http.HttpServletController for WFS Simple Geometry Web Service- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTDSNAMESPACE
-
Constructor Summary
Constructors Constructor Description WFSController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringconstructServerPath(javax.servlet.http.HttpServletRequest hsreq)Constructs the full server URI from a requeststatic StringgetXMLNamespaceXMLNSValue(javax.servlet.http.HttpServletRequest hsreq)Gets the namespace associated with the WFS Controller and this specific THREDDS servervoidhttpHandler(javax.servlet.http.HttpServletRequest hsreq, javax.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 javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
TDSNAMESPACE
public static final String TDSNAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getXMLNamespaceXMLNSValue
public static String getXMLNamespaceXMLNSValue(javax.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(javax.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(javax.servlet.http.HttpServletRequest hsreq, javax.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}
-
-