类 ServletMain

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

public class ServletMain extends javax.servlet.http.HttpServlet
另请参阅:
  • 构造器概要

    构造器
    构造器
    说明
    Constructor of the object.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Destruction of the servlet.
    void
    doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    void
    doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    The doGet method of the servlet.
    void
    doPatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    void
    doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    The doPost method of the servlet.
    void
    doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    Returns information about the servlet, such as author, version, and copyright.
    void
    Initialization of the servlet.
    static void
     
    void
    outContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String cnt)
     
    void
    service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
     
    void
    show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     

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

    doHead, doOptions, doTrace, getLastModified, service

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

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • ServletMain

      public ServletMain()
      Constructor of the object.
  • 方法详细资料

    • initEwaInstances

      public static void initEwaInstances()
    • init

      public void init() throws javax.servlet.ServletException
      Initialization of the servlet.
      覆盖:
      init 在类中 javax.servlet.GenericServlet
      抛出:
      javax.servlet.ServletException - if an error occurs
    • destroy

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

      public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      覆盖:
      service 在类中 javax.servlet.http.HttpServlet
      抛出:
      javax.servlet.ServletException
      IOException
    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      The doGet method of the servlet.
      This method is called when a form has its tag value method equals to get.
      覆盖:
      doGet 在类中 javax.servlet.http.HttpServlet
      参数:
      request - the request send by the client to the server
      response - the response send by the server to the client
      抛出:
      javax.servlet.ServletException - if an error occurred
      IOException - if an error occurred
    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      The doPost method of the servlet.
      This method is called when a form has its tag value method equals to post.
      覆盖:
      doPost 在类中 javax.servlet.http.HttpServlet
      参数:
      request - the request send by the client to the server
      response - the response send by the server to the client
      抛出:
      javax.servlet.ServletException - if an error occurred
      IOException - if an error occurred
    • doPut

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

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

      public void doPatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      抛出:
      javax.servlet.ServletException
      IOException
    • outContent

      public void outContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String cnt) throws javax.servlet.ServletException, IOException
      抛出:
      javax.servlet.ServletException
      IOException
    • show

      public void show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      抛出:
      javax.servlet.ServletException
      IOException
    • getServletInfo

      public String getServletInfo()
      Returns information about the servlet, such as author, version, and copyright.
      指定者:
      getServletInfo 在接口中 javax.servlet.Servlet
      覆盖:
      getServletInfo 在类中 javax.servlet.GenericServlet
      返回:
      String information about this servlet