org.opengts.war.events
Class Events

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opengts.war.events.Events
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Events
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
static long DFT_LIMIT
           
static long MAX_LIMIT
           
static java.lang.String VERSION
           
 
Constructor Summary
Events()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void errorResponse(javax.servlet.http.HttpServletResponse response, int outFmt, java.lang.String msg)
           
static boolean getRequestBoolean(javax.servlet.ServletRequest req, java.lang.String[] key, boolean dft)
           
static long getRequestLong(javax.servlet.ServletRequest req, java.lang.String[] key, long dft)
           
static java.lang.String getRequestString(javax.servlet.ServletRequest req, java.lang.String[] key, java.lang.String dft)
           
 
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

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

DFT_LIMIT

public static long DFT_LIMIT

MAX_LIMIT

public static long MAX_LIMIT
Constructor Detail

Events

public Events()
Method Detail

doGet

public 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

doPost

public 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

errorResponse

protected void errorResponse(javax.servlet.http.HttpServletResponse response,
                             int outFmt,
                             java.lang.String msg)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getRequestString

public static java.lang.String getRequestString(javax.servlet.ServletRequest req,
                                                java.lang.String[] key,
                                                java.lang.String dft)

getRequestLong

public static long getRequestLong(javax.servlet.ServletRequest req,
                                  java.lang.String[] key,
                                  long dft)

getRequestBoolean

public static boolean getRequestBoolean(javax.servlet.ServletRequest req,
                                        java.lang.String[] key,
                                        boolean dft)