Class DataExchangeWebClientConfiguration

java.lang.Object
com.broadleafcommerce.dataexchange.service.autoconfigure.DataExchangeWebClientConfiguration

@EnableConfigurationProperties({SSLVerificationProperties.class,DataExchangeWebClientProperties.class}) @Configuration public class DataExchangeWebClientConfiguration extends Object
  • Constructor Details

    • DataExchangeWebClientConfiguration

      public DataExchangeWebClientConfiguration()
  • Method Details

    • dataExchangeWebClient

      @Bean(name="dataExchangeWebClient") @ConditionalOnMissingBean(name="dataExchangeWebClient") public org.springframework.web.reactive.function.client.WebClient dataExchangeWebClient(@Qualifier("dataExchangeOauth2FilterFunctionSupplier") Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, com.fasterxml.jackson.databind.ObjectMapper objectMapper, SSLVerificationProperties sslVerificationProperties, DataExchangeWebClientProperties webClientProperties)
    • dataExchangeOauth2FilterFunctionSupplier

      @Bean @ConditionalOnMissingBean(name="dataExchangeOauth2FilterFunctionSupplier") public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> dataExchangeOauth2FilterFunctionSupplier(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations, SSLVerificationProperties sslVerificationProperties, DataExchangeWebClientProperties webClientProperties)
    • getExchangeStrategies

      protected org.springframework.web.reactive.function.client.ExchangeStrategies getExchangeStrategies(com.fasterxml.jackson.databind.ObjectMapper objectMapper, DataExchangeWebClientProperties properties)
    • getClientCredentialsAuthorizedClientProvider

      protected org.springframework.security.oauth2.client.OAuth2AuthorizedClientProvider getClientCredentialsAuthorizedClientProvider(SSLVerificationProperties sslVerificationProperties, DataExchangeWebClientProperties webClientProperties)
    • getClientConnector

      protected org.springframework.http.client.reactive.ClientHttpConnector getClientConnector(DataExchangeWebClientProperties webClientProperties, SSLVerificationProperties sslVerificationProperties)
    • enableHttpClientLogging

      public static reactor.netty.http.client.HttpClient enableHttpClientLogging(reactor.netty.http.client.HttpClient httpClient)
    • disableSsl

      @NotNull public static @NotNull reactor.netty.http.client.HttpClient disableSsl(reactor.netty.http.client.HttpClient httpClient)