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 Details

  • Constructor Details

    • AddSenderSystemHeader

      public AddSenderSystemHeader(TracerConfiguration tracerConfiguration)
  • Method Details

    • 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