public enum RequestLocales extends java.lang.Enum<RequestLocales>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<java.util.List<java.util.Locale>> |
LOCALES |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Locale> |
get() |
void |
remove() |
void |
set(java.util.List<java.util.Locale> locales) |
static RequestLocales |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestLocales[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestLocales INSTANCE
private static final java.lang.ThreadLocal<java.util.List<java.util.Locale>> LOCALES
public static RequestLocales[] values()
for (RequestLocales c : RequestLocales.values()) System.out.println(c);
public static RequestLocales valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.List<java.util.Locale> get()
public void set(java.util.List<java.util.Locale> locales)
public void remove()