java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.tenio.core.network.jetty.servlet.support.BaseServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
ServletManager

public abstract class BaseServlet extends javax.servlet.http.HttpServlet
The base HTTP servlet.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.json.JSONObject
    getBody(javax.servlet.http.HttpServletRequest request)
     
    protected boolean
    hasHeaderKey(javax.servlet.http.HttpServletRequest request, String key)
     

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, 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
  • Constructor Details

    • BaseServlet

      public BaseServlet()
  • Method Details

    • hasHeaderKey

      protected boolean hasHeaderKey(javax.servlet.http.HttpServletRequest request, String key)
    • getBody

      protected org.json.JSONObject getBody(javax.servlet.http.HttpServletRequest request)