Class SpringConfig

java.lang.Object
org.allGraphQLCases.demo.SpringConfig

@Configuration public class SpringConfig extends Object
Spring configuration for this app. The main configuration is the oauth one.
Author:
etienne-sf
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.reactive.function.client.WebClient
    webClientAllGraphQLCases(String graphqlEndpointAllGraphQLCases, org.springframework.boot.web.codec.CodecCustomizer defaultCodecCustomizer, reactor.netty.http.client.HttpClient httpClientAllGraphQLCases, org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction serverOAuth2AuthorizedClientExchangeFilterFunctionAllGraphQLCases)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringConfig

      public SpringConfig()
  • Method Details

    • webClientAllGraphQLCases

      @Bean @Primary public org.springframework.web.reactive.function.client.WebClient webClientAllGraphQLCases(String graphqlEndpointAllGraphQLCases, org.springframework.boot.web.codec.CodecCustomizer defaultCodecCustomizer, @Autowired(required=false) @Qualifier("httpClientAllGraphQLCases") reactor.netty.http.client.HttpClient httpClientAllGraphQLCases, @Autowired(required=false) @Qualifier("serverOAuth2AuthorizedClientExchangeFilterFunctionAllGraphQLCases") org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction serverOAuth2AuthorizedClientExchangeFilterFunctionAllGraphQLCases)