-
@Incubating
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Repeatable(Headers.class)
public @interface Header
Declares a default HTTP header. Can be applied to the interface (applies to all methods)
or to individual methods.
- Since:
- 6.0.0
-
-
Element Summary
Required Element Summary
| Type |
Name and Description |
String |
name Returns the header name. |
String |
value Returns the header value. |
-
Inherited Methods Summary
-
-
Element Detail
-
Returns the header name.
- Returns:
- header name
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.