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 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
-
Method Summary
Modifier and TypeMethodDescriptionreactor.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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.reactive.function.client.ExchangeFilterFunction
andThen, apply
-
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:
filter
in interfaceorg.springframework.web.reactive.function.client.ExchangeFilterFunction
-