public static enum WebSocket.WebSocketType extends Enum<WebSocket.WebSocketType>
| Enum Constant and Description |
|---|
INBOUND
Type for sockets that were opened by an external request received through an
HttpServer |
OUTBOUND
Type for sockets that were opened by a request locally originated through a
HttpClient |
| Modifier and Type | Method and Description |
|---|---|
static WebSocket.WebSocketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocket.WebSocketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocket.WebSocketType INBOUND
HttpServerpublic static final WebSocket.WebSocketType OUTBOUND
HttpClientpublic static WebSocket.WebSocketType[] values()
for (WebSocket.WebSocketType c : WebSocket.WebSocketType.values()) System.out.println(c);
public static WebSocket.WebSocketType 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 © 2003–2019 MuleSoft, Inc.. All rights reserved.