public static enum RSocketServer.TRANSPORT extends Enum<RSocketServer.TRANSPORT>
| Modifier and Type | Method and Description |
|---|---|
static RSocketServer.TRANSPORT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RSocketServer.TRANSPORT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RSocketServer.TRANSPORT TCP
public static final RSocketServer.TRANSPORT WEBSOCKET
public static RSocketServer.TRANSPORT[] values()
for (RSocketServer.TRANSPORT c : RSocketServer.TRANSPORT.values()) System.out.println(c);
public static RSocketServer.TRANSPORT 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 © 2019 Pivotal Software, Inc.. All rights reserved.