类 ServletGroup
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.gdxsoft.easyweb.define.servlets.ServletGroup
- 所有已实现的接口:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class ServletGroup
extends javax.servlet.http.HttpServlet
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddestroy()voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) The doGet method of the servlet.voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) The doPost method of the servlet.Returns information about the servlet, such as author, version, and copyright.voidinit()Initialization of the servlet.从类继承的方法 javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service从类继承的方法 javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
-
构造器详细资料
-
ServletGroup
public ServletGroup()
-
-
方法详细资料
-
destroy
public void destroy()- 指定者:
destroy在接口中javax.servlet.Servlet- 覆盖:
destroy在类中javax.servlet.GenericServlet
-
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 serverresponse- the response send by the server to the client- 抛出:
javax.servlet.ServletException- if an error occurredIOException- 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 serverresponse- the response send by the server to the client- 抛出:
javax.servlet.ServletException- if an error occurredIOException- if an error occurred
-
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
-
init
public void init() throws javax.servlet.ServletExceptionInitialization of the servlet.- 覆盖:
init在类中javax.servlet.GenericServlet- 抛出:
javax.servlet.ServletException- if an error occurs
-