Class SlackEventsApiServlet

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

@Deprecated public abstract class SlackEventsApiServlet extends javax.servlet.http.HttpServlet
Deprecated.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    protected void
    doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
    Deprecated.
     
    protected String
    doReadRequestBodyAsString(javax.servlet.http.HttpServletRequest req)
    Deprecated.
    Reads the request body and returns the value as a string.
    protected String
    Deprecated.
    Returns the signing secret supposed to be used for verifying requests from Slack.
    void
    Deprecated.
     
    protected boolean
    Deprecated.
    If you'd like to do the same in a servlet filter, return false instead.
    protected abstract void
    Deprecated.
     

    Methods inherited from class javax.servlet.http.HttpServlet

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

    Methods inherited from class javax.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

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

    • SlackEventsApiServlet

      public SlackEventsApiServlet()
      Deprecated.
  • Method Details

    • setupDispatcher

      protected abstract void setupDispatcher(EventsDispatcher dispatcher)
      Deprecated.
    • init

      public void init() throws javax.servlet.ServletException
      Deprecated.
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException
    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface javax.servlet.Servlet
      Overrides:
      destroy in class javax.servlet.GenericServlet
    • doPost

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

      protected String getSlackSigningSecret()
      Deprecated.
      Returns the signing secret supposed to be used for verifying requests from Slack.
    • isSignatureVerifierEnabled

      protected boolean isSignatureVerifierEnabled()
      Deprecated.
      If you'd like to do the same in a servlet filter, return false instead.
    • doReadRequestBodyAsString

      protected String doReadRequestBodyAsString(javax.servlet.http.HttpServletRequest req) throws IOException
      Deprecated.
      Reads the request body and returns the value as a string.
      Throws:
      IOException