Class BaseServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
dev.galasa.framework.api.common.BaseServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BaseServlet extends javax.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.commons.logging.Log
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
     
    void
    doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
     
    void
    doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
     
    void
    doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
     
    protected ResponseBuilder
     
    void
     

    Methods inherited from class javax.servlet.http.HttpServlet

    doHead, doOptions, 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 Details

    • logger

      protected org.apache.commons.logging.Log logger
  • Constructor Details

    • BaseServlet

      public BaseServlet()
  • Method Details

    • addRoute

      protected void addRoute(IRoute route)
    • getResponseBuilder

      protected ResponseBuilder getResponseBuilder()
    • setResponseBuilder

      public void setResponseBuilder(ResponseBuilder responseBuilder)
    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Overrides:
      doPost in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • doPut

      public void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Overrides:
      doPut in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • doDelete

      public void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Overrides:
      doDelete in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException