Class SlackAppServletAdapter
java.lang.Object
com.slack.api.bolt.jakarta_servlet.SlackAppServletAdapter
An adapter that converts requests from the Slack API server
and translates the Response object to the actual Servlet HTTP response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRequest<?>buildSlackRequest(jakarta.servlet.http.HttpServletRequest req) protected StringdoReadRequestBodyAsString(jakarta.servlet.http.HttpServletRequest req) voidwriteResponse(jakarta.servlet.http.HttpServletResponse resp, Response slackResp)
-
Constructor Details
-
SlackAppServletAdapter
-
-
Method Details
-
buildSlackRequest
- Throws:
IOException
-
doReadRequestBodyAsString
protected String doReadRequestBodyAsString(jakarta.servlet.http.HttpServletRequest req) throws IOException - Throws:
IOException
-
writeResponse
public void writeResponse(jakarta.servlet.http.HttpServletResponse resp, Response slackResp) throws IOException - Throws:
IOException
-