Package org.apache.olingo.server.core
Enum Class AcceptHeaderContentNegotiatorException.MessageKeys
java.lang.Object
java.lang.Enum<AcceptHeaderContentNegotiatorException.MessageKeys>
org.apache.olingo.server.core.AcceptHeaderContentNegotiatorException.MessageKeys
- All Implemented Interfaces:
Serializable,Comparable<AcceptHeaderContentNegotiatorException.MessageKeys>,Constable,ODataLibraryException.MessageKey
- Enclosing class:
- AcceptHeaderContentNegotiatorException
public static enum AcceptHeaderContentNegotiatorException.MessageKeys
extends Enum<AcceptHeaderContentNegotiatorException.MessageKeys>
implements ODataLibraryException.MessageKey
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionparameter: accept charset headerparameter: charset option in accept headerparameter: list of content-type rangesparameter: format string -
Method Summary
-
Enum Constant Details
-
UNSUPPORTED_ACCEPT_TYPES
parameter: list of content-type ranges -
UNSUPPORTED_FORMAT_OPTION
parameter: format string -
UNSUPPORTED_ACCEPT_CHARSET_HEADER_OPTIONS
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_ACCEPT_CHARSET_HEADER_OPTIONSparameter: accept charset header -
UNSUPPORTED_ACCEPT_HEADER_CHARSET
public static final AcceptHeaderContentNegotiatorException.MessageKeys UNSUPPORTED_ACCEPT_HEADER_CHARSETparameter: charset option in accept header
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
Description copied from interface:ODataLibraryException.MessageKeyGets this key.- Specified by:
getKeyin interfaceODataLibraryException.MessageKey
-