Class SlackAppServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public class SlackAppServlet
    extends jakarta.servlet.http.HttpServlet
    The default Servlet that handles incoming requests from the Slack API server.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doPost​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)  
      App getApp()  
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • SlackAppServlet

        public SlackAppServlet​(App app)
    • Method Detail

      • getApp

        public App getApp()
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest req,
                              jakarta.servlet.http.HttpServletResponse resp)
                       throws IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        IOException