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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlackEventsApiServlet()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddestroy()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 StringgetSlackSigningSecret()Deprecated.Returns the signing secret supposed to be used for verifying requests from Slack.voidinit()Deprecated.protected booleanisSignatureVerifierEnabled()Deprecated.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, service
-
-
-
-
Method Detail
-
setupDispatcher
protected abstract void setupDispatcher(EventsDispatcher dispatcher)
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 IOExceptionDeprecated.- Overrides:
doPostin classjavax.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
-
-