Interface ExecutionGraphQlServiceTester.Builder<B extends ExecutionGraphQlServiceTester.Builder<B>>

Type Parameters:
B - the type of builder
All Superinterfaces:
GraphQlTester.Builder<B>
Enclosing interface:
ExecutionGraphQlServiceTester

public static interface ExecutionGraphQlServiceTester.Builder<B extends ExecutionGraphQlServiceTester.Builder<B>> extends GraphQlTester.Builder<B>
Since:
1.0.0
Author:
Rossen Stoyanchev
  • Method Details

    • configureExecutionInput

      B configureExecutionInput(BiFunction<graphql.ExecutionInput, graphql.ExecutionInput.Builder, graphql.ExecutionInput> configurer)
      Provide a BiFunction to help initialize the ExecutionInput with.
      Parameters:
      configurer - the function that initializes the execution input
      Since:
      1.1.2
      See Also:
      • ExecutionGraphQlRequest.configureExecutionInput(BiFunction)
    • encoder

      B encoder(Encoder<?> encoder)
      Configure the JSON encoder to use for mapping response data to higher level objects.
      Parameters:
      encoder - the JSON encoder to use
    • decoder

      B decoder(Decoder<?> decoder)
      Configure the JSON decoder to use for mapping response data to higher level objects.
      Parameters:
      decoder - the JSON decoder to use
    • build

      Specified by:
      build in interface GraphQlTester.Builder<B extends ExecutionGraphQlServiceTester.Builder<B>>
      Returns:
      the created instance