public static enum LocalSingleHttpServer.Diagnostic.Code extends Enum<LocalSingleHttpServer.Diagnostic.Code>
Enum
class for the reason code.Enum Constant and Description |
---|
PROXY
The network interface has a proxy setting.
|
Modifier and Type | Method and Description |
---|---|
static LocalSingleHttpServer.Diagnostic.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalSingleHttpServer.Diagnostic.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalSingleHttpServer.Diagnostic.Code PROXY
public static LocalSingleHttpServer.Diagnostic.Code[] values()
for (LocalSingleHttpServer.Diagnostic.Code c : LocalSingleHttpServer.Diagnostic.Code.values()) System.out.println(c);
public static LocalSingleHttpServer.Diagnostic.Code 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 null