public enum ApiScheme extends Enum<ApiScheme>
| Modifier and Type | Method and Description |
|---|---|
static ApiScheme |
forValue(String value) |
String |
toValue() |
static ApiScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiScheme HTTP
public static final ApiScheme HTTPS
public static final ApiScheme WS
public static final ApiScheme WSS
public static ApiScheme[] values()
for (ApiScheme c : ApiScheme.values()) System.out.println(c);
public static ApiScheme 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 String toValue()
Copyright © 2025. All rights reserved.