Package org.allGraphQLCases.demo
Class SpringConfig
java.lang.Object
org.allGraphQLCases.demo.SpringConfig
Spring configuration for this app. The main configuration is the oauth one.
- Author:
- etienne-sf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
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)
-