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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated.protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Deprecated.protected StringdoReadRequestBodyAsString(javax.servlet.http.HttpServletRequest req) Deprecated.Reads the request body and returns the value as a string.protected StringDeprecated.Returns the signing secret supposed to be used for verifying requests from Slack.voidinit()Deprecated.protected booleanDeprecated.If you'd like to do the same in a servlet filter, return false instead.protected abstract voidsetupDispatcher(EventsDispatcher dispatcher) Deprecated.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
SlackEventsApiServlet
public SlackEventsApiServlet()Deprecated.
-
-
Method Details
-
setupDispatcher
Deprecated. -
init
public void init() throws javax.servlet.ServletExceptionDeprecated.- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()Deprecated.- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException Deprecated.- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
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
-