public enum EndpointMode extends Enum<EndpointMode>
| Modifier and Type | Method and Description |
|---|---|
static EndpointMode |
fromValue(String s)
Returns the appropriate EndpointMode Value after parsing the parameter.
|
static EndpointMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointMode IPV4
public static final EndpointMode IPV6
public static EndpointMode[] values()
for (EndpointMode c : EndpointMode.values()) System.out.println(c);
public static EndpointMode 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 nullpublic static EndpointMode fromValue(String s)
s - EndpointMode in String Format.IllegalArgumentException - Unrecognized value for endpoint mode.Copyright © 2023. All rights reserved.