Esri Geoportal Server
1.0

com.esri.gpt.control.livedata.sos
Class SimpleSOSBridge

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.esri.gpt.control.livedata.sos.SimpleSOSBridge
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SimpleSOSBridge
extends HttpServlet

Simple Sensor observation service bridge. Provides image stream based on service URL, offering, and feature.

See Also:
Serialized Form

Nested Class Summary
static class SimpleSOSBridge.Method
          Method used to acces remote SOS service
 
Field Summary
static int marginSize
           
static int maxReadingsDensity
           
 
Constructor Summary
SimpleSOSBridge()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP GET method.
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP POST method.
 String getServletInfo()
          Returns a short description of the servlet.
protected  void processRequest(HttpServletRequest request, HttpServletResponse response)
          Processes requests for both HTTP GET and POST methods.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

marginSize

public static final int marginSize
See Also:
Constant Field Values

maxReadingsDensity

public static final int maxReadingsDensity
See Also:
Constant Field Values
Constructor Detail

SimpleSOSBridge

public SimpleSOSBridge()
Method Detail

processRequest

protected void processRequest(HttpServletRequest request,
                              HttpServletResponse response)
                       throws ServletException,
                              IOException
Processes requests for both HTTP GET and POST methods.

Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Handles the HTTP GET method.

Overrides:
doGet in class HttpServlet
Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Handles the HTTP POST method.

Overrides:
doPost in class HttpServlet
Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

getServletInfo

public String getServletInfo()
Returns a short description of the servlet.

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet
Returns:
a String containing servlet description

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.