Package com.slack.api.bolt.jetty
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:
- Jetty HTTP Server
-
Constructor Summary
Constructors Constructor Description SlackAppServer(App app)SlackAppServer(App app, int port)SlackAppServer(App app, String path)SlackAppServer(App app, String path, int port)SlackAppServer(Map<String,App> pathToApp)SlackAppServer(Map<String,App> pathToApp, int port) -
Method Summary
Modifier and Type Method Description org.eclipse.jetty.server.handler.ErrorHandlergetErrorHandler()voidsetErrorHandler(org.eclipse.jetty.server.handler.ErrorHandler errorHandler)voidstart()voidstop()
-
Constructor Details
-
Method Details
-
start
- Throws:
Exception
-
stop
- Throws:
Exception
-
getErrorHandler
public org.eclipse.jetty.server.handler.ErrorHandler getErrorHandler() -
setErrorHandler
public void setErrorHandler(org.eclipse.jetty.server.handler.ErrorHandler errorHandler)
-