Changing certificate on each outgoing call with Feign

64 views Asked by At

I have a case were I need to have different certificates for each outgoing call I make with Netflix Feign.

return Feign.builder()
      .requestInterceptor(new MarathonHeadersInterceptor())
      .errorDecoder(new NetsErrorDecoder())
      .logger(new Logger.ErrorLogger())
      .logLevel(Logger.Level.FULL)
      .encoder(new JacksonEncoder())
      .decoder(new JacksonDecoder())
      .target(X.class, endpoint);
0

There are 0 answers