Class SocketModeApp
java.lang.Object
com.slack.api.bolt.jakarta_socket_mode.SocketModeApp
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSocketModeApp(App app) SocketModeApp(App app, int concurrency) SocketModeApp(SocketModeClient socketModeClient, App app) If you would like to synchronously detect the connection error as an exception when bootstrapping, use this constructor.SocketModeApp(String appToken, App app) SocketModeApp(String appToken, App app, int concurrency) SocketModeApp(String appToken, App app, Function<SocketModeApp.ErrorContext, Response> errorHandler) SocketModeApp(String appToken, Function<SocketModeApp.ErrorContext, Response> errorHandler, App app) SocketModeApp(Supplier<SocketModeClient> clientFactory, App app) -
Method Summary
-
Constructor Details
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
- Throws:
IOException
-
SocketModeApp
public SocketModeApp(String appToken, Function<SocketModeApp.ErrorContext, Response> errorHandler, App app) throws IOException- Throws:
IOException
-
SocketModeApp
public SocketModeApp(String appToken, App app, Function<SocketModeApp.ErrorContext, Response> errorHandler) throws IOException- Throws:
IOException
-
SocketModeApp
-
SocketModeApp
If you would like to synchronously detect the connection error as an exception when bootstrapping, use this constructor. The first line can throw an exception in the case where either the token or network settings are valid.SocketModeClient client = JakartaSocketModeClientFactory.create(appToken); SocketModeApp socketModeApp = new SocketModeApp(client, app);
-
-
Method Details