public class SPSServlet extends OWSServlet
Implementation of SensorHub generic SPS service. The service can manage any of the sensors installed on the SensorHub instance and is configured automatically from the information generated by the sensors interfaces.
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_VERSION |
capsHelper, internalErrorMsg, invalidKVPRequestMsg, invalidXMLRequestMsg, owsUtils, owsVersion
Constructor and Description |
---|
SPSServlet(SPSServiceConfig config,
SPSSecurity securityHandler,
org.slf4j.Logger log) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkQueryProcedureFormat(String procedureID,
String format,
OWSExceptionReport report) |
protected ITask |
findTask(String taskID) |
protected void |
generateCapabilities()
Generates the SPSServiceCapabilities object with info obtained from connector
|
protected ISPSConnector |
getConnectorByProcedureID(String procedureID,
OWSExceptionReport report) |
protected String |
getDefaultVersion() |
protected String |
getOfferingID(String procedureID) |
protected String |
getServiceType() |
protected void |
handleRequest(CancelRequest request) |
protected void |
handleRequest(ConfirmRequest request) |
protected void |
handleRequest(DescribeResultAccessRequest request) |
protected void |
handleRequest(DescribeSensorRequest request) |
protected void |
handleRequest(DescribeTaskingRequest request) |
protected void |
handleRequest(GetCapabilitiesRequest request) |
protected GetFeasibilityResponse |
handleRequest(GetFeasibilityRequest request) |
protected void |
handleRequest(GetStatusRequest request) |
protected void |
handleRequest(OWSRequest request) |
protected void |
handleRequest(ReserveRequest request) |
protected void |
handleRequest(SubmitRequest request) |
protected void |
handleRequest(UpdateRequest request) |
protected void |
hideConnectorCaps(ISPSConnector connector) |
protected boolean |
isTaskingRequest(Element requestElt) |
protected OWSRequest |
parseRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
boolean post)
Parse KVP or XML request to generate java request object
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
showConnectorCaps(ISPSConnector connector) |
protected void |
start() |
protected void |
stop() |
doGet, doPost, getSoapBody, getSoapVersion, isClientDisconnected, processRequest, sendCapabilities, sendResponse, updateCapabilities
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
protected static final String DEFAULT_VERSION
public SPSServlet(SPSServiceConfig config, SPSSecurity securityHandler, org.slf4j.Logger log)
protected void start() throws SensorHubException
SensorHubException
protected void stop()
protected void generateCapabilities()
protected void showConnectorCaps(ISPSConnector connector)
protected void hideConnectorCaps(ISPSConnector connector)
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected OWSRequest parseRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean post) throws Exception
OWSServlet
parseRequest
in class OWSServlet
Exception
protected boolean isTaskingRequest(Element requestElt)
protected void handleRequest(OWSRequest request) throws Exception
handleRequest
in class OWSServlet
Exception
protected void handleRequest(GetCapabilitiesRequest request) throws Exception
handleRequest
in class OWSServlet
Exception
protected void handleRequest(DescribeSensorRequest request) throws Exception
Exception
protected void handleRequest(DescribeTaskingRequest request) throws Exception
Exception
protected ITask findTask(String taskID) throws SPSException
SPSException
protected void handleRequest(GetStatusRequest request) throws Exception
Exception
protected GetFeasibilityResponse handleRequest(GetFeasibilityRequest request) throws Exception
Exception
protected void handleRequest(SubmitRequest request) throws Exception
Exception
protected void handleRequest(UpdateRequest request) throws Exception
Exception
protected void handleRequest(CancelRequest request) throws Exception
Exception
protected void handleRequest(ReserveRequest request) throws Exception
Exception
protected void handleRequest(ConfirmRequest request) throws Exception
Exception
protected void handleRequest(DescribeResultAccessRequest request) throws Exception
Exception
protected final ISPSConnector getConnectorByProcedureID(String procedureID, OWSExceptionReport report) throws Exception
Exception
protected void checkQueryProcedureFormat(String procedureID, String format, OWSExceptionReport report) throws SOSException
SOSException
protected String getServiceType()
getServiceType
in class OWSServlet
protected String getDefaultVersion()
getDefaultVersion
in class OWSServlet
Copyright © 2016 Sensia Software LLC. All rights reserved.