Class SlackAppServletAdapter


  • public class SlackAppServletAdapter
    extends Object
    An adapter that converts requests from the Slack API server and translates the Response object to the actual Servlet HTTP response.
    • Constructor Detail

      • SlackAppServletAdapter

        public SlackAppServletAdapter​(AppConfig appConfig)
    • Method Detail

      • doReadRequestBodyAsString

        protected String doReadRequestBodyAsString​(javax.servlet.http.HttpServletRequest req)
                                            throws IOException
        Throws:
        IOException
      • writeResponse

        public void writeResponse​(javax.servlet.http.HttpServletResponse resp,
                                  Response slackResp)
                           throws IOException
        Throws:
        IOException