Class SlackAppServer


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

      • 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 Detail

      • getErrorHandler

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

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