public enum EurekaAccept extends java.lang.Enum<EurekaAccept>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HTTP_X_EUREKA_ACCEPT |
Modifier and Type | Method and Description |
---|---|
static EurekaAccept |
fromString(java.lang.String name) |
static EurekaAccept |
getClientAccept(DecoderWrapper decoderWrapper) |
static EurekaAccept |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EurekaAccept[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EurekaAccept full
public static final EurekaAccept compact
public static final java.lang.String HTTP_X_EUREKA_ACCEPT
public static EurekaAccept[] values()
for (EurekaAccept c : EurekaAccept.values()) System.out.println(c);
public static EurekaAccept 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 static EurekaAccept getClientAccept(DecoderWrapper decoderWrapper)
public static EurekaAccept fromString(java.lang.String name)