Interface Servlet

All Known Implementing Classes:
DefaultServlet, GenericServlet, HttpServlet, SmallRyeHealthServlet, SmallRyeLivenessServlet, SmallRyeReadinessServlet

public interface Servlet
The Servlet API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • destroy

      void destroy()
      Destroy the servlet.
    • getServletConfig

      ServletConfig getServletConfig()
      Returns the servlet config.
      Returns:
      the servlet config
    • getServletInfo

      String getServletInfo()
      Returns the servlet information.
      Returns:
      the servlet information
    • init

      void init(ServletConfig servletConfig) throws ServletException
      Initialize the servlet.
      Parameters:
      servletConfig - the servlet config.
      Throws:
      ServletException - when a servlet error occurs.
    • service

      void service(ServletRequest request, ServletResponse response) throws IOException, ServletException
      Process the request.
      Parameters:
      request - the request.
      response - the response.
      Throws:
      IOException - when an I/O error occurs.
      ServletException - when a servlet error occurs.