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