Uses of Class
graphql.GraphQLContext.Builder
Packages that use GraphQLContext.Builder
-
Uses of GraphQLContext.Builder in graphql
Methods in graphql that return GraphQLContext.BuilderModifier and TypeMethodDescriptionstatic GraphQLContext.Builder
GraphQLContext.newContext()
Creates a new GraphqlContext builderGraphQLContext.Builder.of
(GraphQLContext graphQLContext) Adds all of the values in the map into the context builder.GraphQLContext.Builder.of
(GraphQLContext.Builder graphQLContextBuilder) Adds all of the values in the map into the context builder.GraphQLContext.Builder.of
(Object key1, Object value1, Object key2, Object value2, Object key3, Object value3) GraphQLContext.Builder.of
(Object key1, Object value1, Object key2, Object value2, Object key3, Object value3, Object key4, Object value4) GraphQLContext.Builder.of
(Object key1, Object value1, Object key2, Object value2, Object key3, Object value3, Object key4, Object value4, Object key5, Object value5) Adds all of the values in the map into the context builder.Adds all of the values in the map into the context builder.private GraphQLContext.Builder
Methods in graphql with parameters of type GraphQLContext.BuilderModifier and TypeMethodDescriptionExecutionInput.Builder.context
(GraphQLContext.Builder contextBuilder) Deprecated.GraphQLContext.Builder.of
(GraphQLContext.Builder graphQLContextBuilder) Adds all of the values in the map into the context builder.GraphQLContext.putAll
(GraphQLContext.Builder contextBuilder) Puts all of the values into the contextMethod parameters in graphql with type arguments of type GraphQLContext.BuilderModifier and TypeMethodDescriptionExecutionInput.Builder.context
(UnaryOperator<GraphQLContext.Builder> contextBuilderFunction) Deprecated.- theExecutionInput.getGraphQLContext()
is a fixed mutable instance nowExecutionInput.Builder.graphQLContext
(Consumer<GraphQLContext.Builder> builderFunction) This will give you a builder ofGraphQLContext
and any values you set will be copied into the underlyingGraphQLContext
of this execution inputstatic GraphQLContext
GraphQLContext.of
(Consumer<GraphQLContext.Builder> contextBuilderConsumer) Creates a new GraphqlContext with the map of context added to itGraphQLContext.putAll
(Consumer<GraphQLContext.Builder> contextBuilderConsumer) Puts all of the values into the context
ExecutionInput.getGraphQLContext()
is a fixed mutable instance now