Interface WebSocketGraphQlTester
- All Superinterfaces:
GraphQlTester,WebGraphQlTester
GraphQL over WebSocket client that uses
WebSocketClient.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for a GraphQL over WebSocket tester.Nested classes/interfaces inherited from interface org.springframework.graphql.test.tester.GraphQlTester
GraphQlTester.Entity<D,S extends GraphQlTester.Entity<D, S>>, GraphQlTester.EntityList<E>, GraphQlTester.Errors, GraphQlTester.Path, GraphQlTester.Request<T extends GraphQlTester.Request<T>>, GraphQlTester.Response, GraphQlTester.Subscription, GraphQlTester.Traversable -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSocketGraphQlTester.Builder<?>builder(String url, WebSocketClient webSocketClient) Return a builder for aWebSocketGraphQlClient.static WebSocketGraphQlTester.Builder<?>builder(URI url, WebSocketClient webSocketClient) Return a builder for aWebSocketGraphQlClient.static WebSocketGraphQlTestercreate(URI url, WebSocketClient webSocketClient) Create aWebSocketGraphQlTester.mutate()Create a builder initialized from the configuration of "this" tester.reactor.core.publisher.Mono<Void>start()This is delegated to thestart()method of the underlyingWebSocketGraphQlClient.reactor.core.publisher.Mono<Void>stop()This is delegated to thestop()method of the underlyingWebSocketGraphQlClient.Methods inherited from interface org.springframework.graphql.test.tester.GraphQlTester
document, documentName
-
Method Details
-
start
reactor.core.publisher.Mono<Void> start()This is delegated to thestart()method of the underlyingWebSocketGraphQlClient. -
stop
reactor.core.publisher.Mono<Void> stop()This is delegated to thestop()method of the underlyingWebSocketGraphQlClient. -
mutate
WebSocketGraphQlTester.Builder<?> mutate()Description copied from interface:GraphQlTesterCreate a builder initialized from the configuration of "this" tester. Use it to build a new, independently configured instance.- Specified by:
mutatein interfaceGraphQlTester- Specified by:
mutatein interfaceWebGraphQlTester
-
create
Create aWebSocketGraphQlTester.- Parameters:
url- the GraphQL endpoint URLwebSocketClient- the underlying transport client to use
-
builder
Return a builder for aWebSocketGraphQlClient.- Parameters:
url- the GraphQL endpoint URLwebSocketClient- the underlying transport client to use
-
builder
Return a builder for aWebSocketGraphQlClient.- Parameters:
url- the GraphQL endpoint URLwebSocketClient- the underlying transport client to use
-