Annotation Interface RequireHeaders
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@RequirementMeta(type=STORING)
public @interface RequireHeaders
Annotation to specify required HTTP headers for methods or types.
This annotation can be applied to methods or types to indicate that
certain HTTP headers are required for processing the request.
- Since:
- 3.0.2-SNAPSHOT
-
Required Element Summary
Required Elements
-
Element Details
-
value
Specifies the required HTTP headers.- Returns:
- An array of strings representing the names of the required headers.
-