Package org.apache.olingo.server.core
Enum Class ContentNegotiatorException.MessageKeys
java.lang.Object
java.lang.Enum<ContentNegotiatorException.MessageKeys>
org.apache.olingo.server.core.ContentNegotiatorException.MessageKeys
- All Implemented Interfaces:
Serializable,Comparable<ContentNegotiatorException.MessageKeys>,Constable,ODataLibraryException.MessageKey
- Enclosing class:
- ContentNegotiatorException
public static enum ContentNegotiatorException.MessageKeys
extends Enum<ContentNegotiatorException.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 ConstantDescriptionno parameterparameter: accept charsetparameter: accept header charsetparameter: list of content-type rangesparameter: content typeparameter: format string -
Method Summary
-
Enum Constant Details
-
UNSUPPORTED_ACCEPT_TYPES
parameter: list of content-type ranges -
UNSUPPORTED_CONTENT_TYPE
parameter: content type -
NO_CONTENT_TYPE_SUPPORTED
no parameter -
UNSUPPORTED_FORMAT_OPTION
parameter: format string -
UNSUPPORTED_ACCEPT_CHARSET
parameter: accept charset -
UNSUPPORTED_ACCEPT_HEADER_CHARSET
parameter: accept header charset
-
-
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
-