Enum Annotations
- All Implemented Interfaces:
Serializable,Comparable<Annotations>,java.lang.constant.Constable,org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
public enum Annotations
extends Enum<Annotations>
implements org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum.NotFound -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiontype()static AnnotationsReturns the enum constant of this type with the specified name.static Annotations[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
isPresent, loadType
-
Enum Constant Details
-
Path
-
HttpMethod
-
Produces
-
Consumes
-
PathParam
-
MatrixParam
-
QueryParam
-
HeaderParam
-
CookieParam
-
FormParam
-
BeanParam
-
Body
-
Form
-
Context
-
Suspended
-
DefaultValue
-
Encoded
-
Nonnull
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
className
- Specified by:
classNamein interfaceorg.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
-
type
- Specified by:
typein interfaceorg.apache.dubbo.rpc.protocol.tri.rest.mapping.meta.AnnotationEnum
-