public enum WebSocketControlSignal extends Enum<WebSocketControlSignal>
| Enum Constant and Description |
|---|
IDLE_TIMEOUT
Idle timeout indicator.
|
PING
Heartbeat request signal.
|
PONG
Heartbeat response signal.
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocketControlSignal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketControlSignal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketControlSignal PING
public static final WebSocketControlSignal PONG
public static final WebSocketControlSignal IDLE_TIMEOUT
public static WebSocketControlSignal[] values()
for (WebSocketControlSignal c : WebSocketControlSignal.values()) System.out.println(c);
public static WebSocketControlSignal valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023 WSO2. All rights reserved.