de.oio.sqlrest
Class Dispatcher

java.lang.Object
  |
  +--de.oio.sqlrest.Dispatcher

public class Dispatcher
extends java.lang.Object

Author:
tbayer

Constructor Summary
Dispatcher()
           
 
Method Summary
static void dispatchDELETE(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DatabaseInfo databaseInfo)
          Method dispatchDELETE.
static void dispatchGET(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DatabaseInfo databaseInfo)
           
static void dispatchPOST(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DatabaseInfo databaseInfo)
          Method dispatchPOST.
static void dispatchPUT(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DatabaseInfo databaseInfo)
          Method dispatchPUT.
static boolean isServletRootRequested(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatcher

public Dispatcher()
Method Detail

dispatchGET

public static void dispatchGET(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               DatabaseInfo databaseInfo)
                        throws java.io.IOException,
                               java.lang.Exception
java.io.IOException
java.lang.Exception

isServletRootRequested

public static boolean isServletRootRequested(javax.servlet.http.HttpServletRequest request)

dispatchDELETE

public static void dispatchDELETE(javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response,
                                  DatabaseInfo databaseInfo)
                           throws java.lang.Exception
Method dispatchDELETE.

Parameters:
request -
response -
databaseInfo -
java.lang.Exception

dispatchPOST

public static void dispatchPOST(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                DatabaseInfo databaseInfo)
                         throws java.lang.Exception
Method dispatchPOST.

Parameters:
request -
response -
databaseInfo -
java.lang.Exception

dispatchPUT

public static void dispatchPUT(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               DatabaseInfo databaseInfo)
                        throws java.lang.Exception
Method dispatchPUT.

Parameters:
request -
response -
databaseInfo -
java.lang.Exception


Copyright Orientation in Objects GmbH. All Rights Reserved.