edu.whoi.ursa.argoDatabase.web
Class ActiveWhoiFloats

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.whoi.ursa.argoDatabase.web.ActiveWhoiFloats
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@WebServlet(value="/ActiveWhoiFloats")
public class ActiveWhoiFloats
extends javax.servlet.http.HttpServlet

Servlet implementation class ActiveWhoiFloats

See Also:
Serialized Form

Field Summary
private static java.lang.Double jend
           
private static java.lang.Double jstart
           
private static java.lang.Double juldToMillisecondRatio
           
private static java.util.Map<java.lang.String,java.lang.String> mapFields
           
private static java.util.Set<java.lang.String> otherFields
           
private static java.util.GregorianCalendar referenceDate
           
private static long serialVersionUID
           
 
Constructor Summary
ActiveWhoiFloats()
           
 
Method Summary
private static java.lang.String createEventListenerFunction(java.util.Collection<java.lang.Object[]> markers)
           
private  void createMap(org.w3c.dom.Element body, org.w3c.dom.Element head)
           
private  java.util.List<java.lang.Object[]> createObjectList(java.util.Collection<java.lang.String> fields)
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  void doThis(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static java.lang.Double gregdToJuld(java.util.GregorianCalendar date)
           
 
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, 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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

juldToMillisecondRatio

private static final java.lang.Double juldToMillisecondRatio

referenceDate

private static final java.util.GregorianCalendar referenceDate

mapFields

private static final java.util.Map<java.lang.String,java.lang.String> mapFields

otherFields

private static final java.util.Set<java.lang.String> otherFields

jstart

private static final java.lang.Double jstart

jend

private static final java.lang.Double jend
Constructor Detail

ActiveWhoiFloats

public ActiveWhoiFloats()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse response)

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)

doThis

private void doThis(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

createMap

private void createMap(org.w3c.dom.Element body,
                       org.w3c.dom.Element head)

createEventListenerFunction

private static java.lang.String createEventListenerFunction(java.util.Collection<java.lang.Object[]> markers)

createObjectList

private java.util.List<java.lang.Object[]> createObjectList(java.util.Collection<java.lang.String> fields)

gregdToJuld

public static java.lang.Double gregdToJuld(java.util.GregorianCalendar date)