-
- All Implemented Interfaces:
-
com.expediagroup.graphql.client.GraphQLClient
public class GraphQLWebClient implements GraphQLClient<WebClient.RequestBodyUriSpec>A lightweight typesafe GraphQL HTTP client using Spring WebClient engine.
-
-
Constructor Summary
Constructors Constructor Description GraphQLWebClient(String url, GraphQLClientSerializer serializer, WebClient.Builder builder)
-
Method Summary
Modifier and Type Method Description <T extends Any> GraphQLClientResponse<T>execute(GraphQLClientRequest<T> request, Function1<WebClient.RequestBodyUriSpec, Unit> requestCustomizer)List<GraphQLClientResponse<?>>execute(List<GraphQLClientRequest<?>> requests, Function1<WebClient.RequestBodyUriSpec, Unit> requestCustomizer)
-