类 ServletApi

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.gdxsoft.easyweb.define.servlets.ServletApi
所有已实现的接口:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ServletApi extends javax.servlet.http.HttpServlet
Servlet API for configuration management Methods: - getConfXml: Get full XML configuration file - getConfItem: Get specific configuration item - runConfItem: Copy configuration item - updateConfItem: Update configuration item - login: Generate API token - logout: Revoke API token Authentication: - HMAC Signature (recommended for server-to-server) - JWT Token (for client sessions) - Simple Token (legacy, not recommended)
另请参阅:
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
     
    protected void
    doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected void
    doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
     
    void
     

    从类继承的方法 javax.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    从类继承的方法 javax.servlet.GenericServlet

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
  • 构造器详细资料

    • ServletApi

      public ServletApi()
  • 方法详细资料

    • destroy

      public void destroy()
      指定者:
      destroy 在接口中 javax.servlet.Servlet
      覆盖:
      destroy 在类中 javax.servlet.GenericServlet
    • doGet

      protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      覆盖:
      doGet 在类中 javax.servlet.http.HttpServlet
      抛出:
      javax.servlet.ServletException
      IOException
    • doPost

      protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      覆盖:
      doPost 在类中 javax.servlet.http.HttpServlet
      抛出:
      javax.servlet.ServletException
      IOException
    • getServletInfo

      public String getServletInfo()
      指定者:
      getServletInfo 在接口中 javax.servlet.Servlet
      覆盖:
      getServletInfo 在类中 javax.servlet.GenericServlet
    • init

      public void init() throws javax.servlet.ServletException
      覆盖:
      init 在类中 javax.servlet.GenericServlet
      抛出:
      javax.servlet.ServletException