Interface GraphQLWebClient


public interface GraphQLWebClient
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> reactor.core.publisher.Flux<T>
    flux(String resource, Class<T> returnType)
     
    <T> reactor.core.publisher.Flux<T>
    flux(String resource, Map<String,Object> variables, Class<T> returnType)
     
    newInstance(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
    reactor.core.publisher.Mono<GraphQLResponse>
     
    <T> reactor.core.publisher.Mono<T>
    post(String resource, Class<T> returnType)
     
    <T> reactor.core.publisher.Mono<T>
    post(String resource, Map<String,Object> variables, Class<T> returnType)
     
  • Method Details

    • newInstance

      static GraphQLWebClient newInstance(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • post

      <T> reactor.core.publisher.Mono<T> post(String resource, Class<T> returnType)
    • post

      <T> reactor.core.publisher.Mono<T> post(String resource, Map<String,Object> variables, Class<T> returnType)
    • post

      reactor.core.publisher.Mono<GraphQLResponse> post(GraphQLRequest request)
    • flux

      <T> reactor.core.publisher.Flux<T> flux(String resource, Class<T> returnType)
    • flux

      <T> reactor.core.publisher.Flux<T> flux(String resource, Map<String,Object> variables, Class<T> returnType)