public enum WebServerMode extends Enum<WebServerMode> implements HasCode<WebServerMode>
| Modifier and Type | Class and Description |
|---|---|
static class |
WebServerMode.WebServerModeDeserializer |
| Modifier and Type | Method and Description |
|---|---|
static WebServerMode |
of(String code) |
static WebServerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebServerMode REGULAR
public static final WebServerMode GZIP
public static final WebServerMode DISABLED
public static WebServerMode[] values()
for (WebServerMode c : WebServerMode.values()) System.out.println(c);
public static WebServerMode 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 WebServerMode of(String code)
Copyright © 2019. All rights reserved.