Class AddSenderSystemHeader
- java.lang.Object
-
- ch.admin.bag.covidcertificate.rest.tracing.AddSenderSystemHeader
-
- All Implemented Interfaces:
org.springframework.boot.web.reactive.function.client.WebClientCustomizer
@Configuration @ConditionalOnClass(org.springframework.web.reactive.function.client.WebClient.Builder.class) public class AddSenderSystemHeader extends Object implements org.springframework.boot.web.reactive.function.client.WebClientCustomizer
Add a header with the name of the current service to each REST-Call
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_NAME_HEADER
-
Constructor Summary
Constructors Constructor Description AddSenderSystemHeader(TracerConfiguration tracerConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
-
-
-
Field Detail
-
APPLICATION_NAME_HEADER
public static final String APPLICATION_NAME_HEADER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AddSenderSystemHeader
public AddSenderSystemHeader(TracerConfiguration tracerConfiguration)
-
-