@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface RequestAttributes
@RequestAttributes({
@RequestAttribute(name = "api-key", value = "my-key-value"),
@RequestAttribute(name = "api-name", value = "my-api-name")
})
Modifier and Type | Optional Element and Description |
---|---|
RequestAttribute[] |
value
This allows you to have multiple @RequestAttribute's set at the class level with Java and Groovy.
|
public abstract RequestAttribute[] value
@RequestAttributes({
@RequestAttribute(name = "api-key", value = "my-key-value"),
@RequestAttribute(name = "api-name", value = "my-api-name")
})