org.restafarian.core.servlets
Class ConfigurationInitializationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.restafarian.core.servlets.RestServletBase
              extended by org.restafarian.core.servlets.ConfigurationInitializationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ConfigurationInitializationServlet
extends RestServletBase

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.restafarian.core.servlets.RestServletBase
context, log
 
Constructor Summary
ConfigurationInitializationServlet()
           
 
Method Summary
 void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          The Servlet "doDelete()" method.
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          The Servlet "doGet()" method.
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          The Servlet "doPost()" method.
 void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          The Servlet "doPut()" method.
 void init(javax.servlet.ServletConfig config)
          Servlet init method.
 
Methods inherited from class org.restafarian.core.servlets.RestServletBase
destroy, filter, getIdFromUrl, getNameSpaceUrl, getNumericIdFromUrl, sendError, sendError, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationInitializationServlet

public ConfigurationInitializationServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)

Servlet init method.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class RestServletBase
Parameters:
config - the ServletConfig object

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException

The Servlet "doGet()" method.

Specified by:
doGet in class RestServletBase
Parameters:
req - the HttpServletRequest object
res - the HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException

The Servlet "doPost()" method.

Specified by:
doPost in class RestServletBase
Parameters:
req - the HttpServletRequest object
res - the HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException

doPut

public void doPut(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException

The Servlet "doPut()" method.

Specified by:
doPut in class RestServletBase
Parameters:
req - the HttpServletRequest object
res - the HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException

doDelete

public void doDelete(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse res)
              throws javax.servlet.ServletException,
                     java.io.IOException

The Servlet "doDelete()" method.

Specified by:
doDelete in class RestServletBase
Parameters:
req - the HttpServletRequest object
res - the HttpServletResponse object
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2008. All Rights Reserved.