Interface RSocketGraphQlTester

All Superinterfaces:
GraphQlTester

public interface RSocketGraphQlTester extends GraphQlTester
GraphQL over RSocket tester that uses RSocketRequester.
Since:
1.0.0
Author:
Rossen Stoyanchev
  • Method Details

    • start

      reactor.core.publisher.Mono<Void> start()
      Start the RSocket session.
      Returns:
      Mono that completes when the underlying session is started
    • stop

      reactor.core.publisher.Mono<Void> stop()
      Stop the RSocket session.
      Returns:
      Mono that completes when the underlying session is closed

      Note that currently this method not differed and does not wait, see RSocketGraphQlClient.stop()

    • mutate

      Description copied from interface: GraphQlTester
      Create a builder initialized from the configuration of "this" tester. Use it to build a new, independently configured instance.
      Specified by:
      mutate in interface GraphQlTester
    • builder

      static RSocketGraphQlTester.Builder<?> builder()
      Start with a new RSocketRequester.Builder customized for GraphQL, setting the dataMimeType to "application/graphql+json" and adding JSON codecs.
    • builder

      static RSocketGraphQlTester.Builder<?> builder(RSocketRequester.Builder requesterBuilder)
      Start with a given builder().
      Parameters:
      requesterBuilder - the builder to use as a baseline