类 ExampleServlet

java.lang.Object
jakarta.servlet.GenericServlet
cn.taketoday.test.web.servlet.ExampleServlet
所有已实现的接口:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class ExampleServlet extends jakarta.servlet.GenericServlet
Simple example Servlet used for testing.
从以下版本开始:
4.0
作者:
Phillip Webb
另请参阅:
  • 构造器概要

    构造器
    构造器
    说明
     
    ExampleServlet(boolean echoRequestInfo, boolean writeWithoutContentLength)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    service(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
     

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

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

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

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

    • ExampleServlet

      public ExampleServlet()
    • ExampleServlet

      public ExampleServlet(boolean echoRequestInfo, boolean writeWithoutContentLength)
  • 方法详细资料

    • service

      public void service(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException
      指定者:
      service 在接口中 jakarta.servlet.Servlet
      指定者:
      service 在类中 jakarta.servlet.GenericServlet
      抛出:
      jakarta.servlet.ServletException
      IOException