public class GraphQlClientHeader extends Object
Supplier for dynamic values.
The value can be any Object; the GraphQL client calls toString to convert it.
When you are in a Java SE environment, you need to add it to the GraphQlClientBuilder;
in a CDI application, you can simply write a Producer method or field;| Constructor and Description |
|---|
GraphQlClientHeader(String name,
Object value) |
GraphQlClientHeader(String name,
Supplier<Object> supplier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Object |
getValue() |
Map.Entry<String,Object> |
toEntry() |
Copyright © 2018–2020. All rights reserved.