Package com.slack.api.socket_mode
Enum SocketModeClient.Backend
- java.lang.Object
-
- java.lang.Enum<SocketModeClient.Backend>
-
- com.slack.api.socket_mode.SocketModeClient.Backend
-
- All Implemented Interfaces:
Serializable
,Comparable<SocketModeClient.Backend>
- Enclosing interface:
- SocketModeClient
public static enum SocketModeClient.Backend extends Enum<SocketModeClient.Backend>
Built-in backend supports. The default os Tyrus.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JavaWebSocket
org.java-websocket:Java-WebSocketTyrus
org.glassfish.tyrus.bundles:tyrus-standalone-client
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocketModeClient.Backend
valueOf(String name)
Returns the enum constant of this type with the specified name.static SocketModeClient.Backend[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Tyrus
public static final SocketModeClient.Backend Tyrus
org.glassfish.tyrus.bundles:tyrus-standalone-client
-
JavaWebSocket
public static final SocketModeClient.Backend JavaWebSocket
org.java-websocket:Java-WebSocket
-
-
Method Detail
-
values
public static SocketModeClient.Backend[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SocketModeClient.Backend c : SocketModeClient.Backend.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SocketModeClient.Backend valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-