Module io.helidon.webclient.api
Package io.helidon.webclient.api
Annotation Interface RestClient.Header
- Enclosing class:
RestClient
@Target({TYPE,METHOD})
@Repeatable(Headers.class)
@Documented
public static @interface RestClient.Header
Definition of an outbound header (sent with every request).
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionName of the header, seeHeaderNames
constants with_STRING
.Value of the header.
-
Element Details
-
name
String nameName of the header, seeHeaderNames
constants with_STRING
.- Returns:
- header name
-
value
String valueValue of the header.- Returns:
- header value
-