Interface SyncGraphQlClientInterceptor
public interface SyncGraphQlClientInterceptor
Interceptor of 
GraphQlClient requests for use in a blocking execution
 chain with a SyncGraphQlTransport.- Since:
- 1.3.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContract to delegate to the rest of a blocking execution chain.
- 
Method SummaryModifier and TypeMethodDescriptiondefault SyncGraphQlClientInterceptorandThen(SyncGraphQlClientInterceptor interceptor) Return a new interceptor that invokes the current interceptor first and then the one that is passed in.default ClientGraphQlResponseintercept(ClientGraphQlRequest request, SyncGraphQlClientInterceptor.Chain chain) Intercept a single response request (query and mutation operations), and delegate to the rest of the chain including other interceptors followed by theSyncGraphQlTransport.
- 
Method Details- 
interceptdefault ClientGraphQlResponse intercept(ClientGraphQlRequest request, SyncGraphQlClientInterceptor.Chain chain) Intercept a single response request (query and mutation operations), and delegate to the rest of the chain including other interceptors followed by theSyncGraphQlTransport.- Parameters:
- request- the request to perform
- chain- the rest of the chain to perform the request
- Returns:
- the response
- See Also:
 
- 
andThenReturn a new interceptor that invokes the current interceptor first and then the one that is passed in.- Parameters:
- interceptor- the interceptor to delegate to after "this"
- Returns:
- the new interceptor instance
 
 
-