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