Class SlackAppServer

java.lang.Object
com.slack.api.bolt.jetty.SlackAppServer

public class SlackAppServer extends Object
An HTTP server backed by Jetty HTTP Server that runs App apps.
See Also:
  • Constructor Details

    • SlackAppServer

      public SlackAppServer(App app)
    • SlackAppServer

      public SlackAppServer(App app, String path)
    • SlackAppServer

      public SlackAppServer(App app, int port)
    • SlackAppServer

      public SlackAppServer(App app, String path, int port)
    • SlackAppServer

      public SlackAppServer(Map<String,App> pathToApp)
    • SlackAppServer

      public SlackAppServer(Map<String,App> pathToApp, int port)
  • Method Details

    • start

      public void start() throws Exception
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Throws:
      Exception
    • getErrorHandler

      public org.eclipse.jetty.server.handler.ErrorHandler getErrorHandler()
    • setErrorHandler

      public void setErrorHandler(org.eclipse.jetty.server.handler.ErrorHandler errorHandler)