public enum CustomUserAgent extends Enum<CustomUserAgent>
| Enum Constant and Description |
|---|
TEMPLATE_RESOLVER
Template resolver's user agent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUserAgent()
Returns the user agent.
|
static CustomUserAgent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomUserAgent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomUserAgent TEMPLATE_RESOLVER
public static CustomUserAgent[] values()
for (CustomUserAgent c : CustomUserAgent.values()) System.out.println(c);
public static CustomUserAgent 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 getUserAgent()
Copyright © 2023. All rights reserved.