public static enum AcceptHeaderContentNegotiatorException.MessageKeys extends Enum<AcceptHeaderContentNegotiatorException.MessageKeys> implements ODataLibraryException.MessageKey
| Enum Constant and Description |
|---|
UNSUPPORTED_ACCEPT_CHARSET_HEADER_OPTIONS
parameter: accept charset header
|
UNSUPPORTED_ACCEPT_HEADER_CHARSET
parameter: charset option in accept header
|
UNSUPPORTED_ACCEPT_TYPES
parameter: list of content-type ranges
|
UNSUPPORTED_FORMAT_OPTION
parameter: format string
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets this key.
|
static AcceptHeaderContentNegotiatorException.MessageKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptHeaderContentNegotiatorException.MessageKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_ACCEPT_TYPES
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_FORMAT_OPTION
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_ACCEPT_CHARSET_HEADER_OPTIONS
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_ACCEPT_HEADER_CHARSET
public static AcceptHeaderContentNegotiatorException.MessageKeys[] values()
for (AcceptHeaderContentNegotiatorException.MessageKeys c : AcceptHeaderContentNegotiatorException.MessageKeys.values()) System.out.println(c);
public static AcceptHeaderContentNegotiatorException.MessageKeys 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 getKey()
ODataLibraryException.MessageKeygetKey in interface ODataLibraryException.MessageKeyCopyright © 2023. All rights reserved.