Class SlackAppServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.slack.api.bolt.servlet.SlackAppServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

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

    Constructors 
    Constructor Description
    SlackAppServlet​(App app)  
  • Method Summary

    Modifier and Type Method Description
    protected void doPost​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)  
    App getApp()  

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class javax.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getApp

      public App getApp()
    • doPost

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