Interface WebSocketGraphQlClient.Builder<B extends WebSocketGraphQlClient.Builder<B>>
- Type Parameters:
B
- the builder type
- All Superinterfaces:
GraphQlClient.BaseBuilder<B>
,GraphQlClient.Builder<B>
,WebGraphQlClient.Builder<B>
- Enclosing interface:
- WebSocketGraphQlClient
public static interface WebSocketGraphQlClient.Builder<B extends WebSocketGraphQlClient.Builder<B>>
extends WebGraphQlClient.Builder<B>
Builder for a GraphQL over WebSocket client.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build theWebSocketGraphQlClient
.Configure how frequently to send ping messages.Methods inherited from interface org.springframework.graphql.client.GraphQlClient.BaseBuilder
blockingTimeout, documentSource
Methods inherited from interface org.springframework.graphql.client.GraphQlClient.Builder
interceptor, interceptors
Methods inherited from interface org.springframework.graphql.client.WebGraphQlClient.Builder
codecConfigurer, header, headers, url, url
-
Method Details
-
keepAlive
Configure how frequently to send ping messages.By default, this is not set, and ping messages are not sent.
- Parameters:
keepAlive
- the value to use- Since:
- 1.3.0
-
build
WebSocketGraphQlClient build()Build theWebSocketGraphQlClient
.- Specified by:
build
in interfaceGraphQlClient.BaseBuilder<B extends WebSocketGraphQlClient.Builder<B>>
- Specified by:
build
in interfaceWebGraphQlClient.Builder<B extends WebSocketGraphQlClient.Builder<B>>
-