Class 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
    • Constructor Detail

      • AddSenderSystemHeader

        public AddSenderSystemHeader​(TracerConfiguration tracerConfiguration)
    • Method Detail

      • customize

        public void customize​(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
        Specified by:
        customize in interface org.springframework.boot.web.reactive.function.client.WebClientCustomizer