Class OAuthTokenExtractor.OAuthTokenFilter
java.lang.Object
com.graphql_java_generator.client.OAuthTokenExtractor.OAuthTokenFilter
- All Implemented Interfaces:
org.springframework.web.reactive.function.client.ExchangeFilterFunction
- Enclosing class:
- OAuthTokenExtractor
public static class OAuthTokenExtractor.OAuthTokenFilter
extends java.lang.Object
implements org.springframework.web.reactive.function.client.ExchangeFilterFunction
This class filters the dummy request, and respond by the
OAuthTokenExtractor.GetOAuthTokenClientResponse when the
OAuthTokenExtractor.DUMMY_REQUEST is executed-
Constructor Summary
Constructors Constructor Description OAuthTokenFilter() -
Method Summary
Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse>filter(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ExchangeFunction next)
-
Constructor Details
-
OAuthTokenFilter
public OAuthTokenFilter()
-
-
Method Details
-
filter
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> filter(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ExchangeFunction next)- Specified by:
filterin interfaceorg.springframework.web.reactive.function.client.ExchangeFilterFunction
-