public static class GraphQLContext.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GraphQLContext |
build() |
GraphQLContext.Builder |
of(GraphQLContext.Builder graphQLContextBuilder)
Adds all of the values in the map into the context builder.
|
GraphQLContext.Builder |
of(GraphQLContext graphQLContext)
Adds all of the values in the map into the context builder.
|
GraphQLContext.Builder |
of(java.util.Map<?,java.lang.Object> mapOfContext)
Adds all of the values in the map into the context builder.
|
GraphQLContext.Builder |
of(java.lang.Object key1,
java.lang.Object value1) |
GraphQLContext.Builder |
of(java.lang.Object key1,
java.lang.Object value1,
java.lang.Object key2,
java.lang.Object value2) |
GraphQLContext.Builder |
of(java.lang.Object key1,
java.lang.Object value1,
java.lang.Object key2,
java.lang.Object value2,
java.lang.Object key3,
java.lang.Object value3) |
GraphQLContext.Builder |
of(java.lang.Object key1,
java.lang.Object value1,
java.lang.Object key2,
java.lang.Object value2,
java.lang.Object key3,
java.lang.Object value3,
java.lang.Object key4,
java.lang.Object value4) |
GraphQLContext.Builder |
of(java.lang.Object key1,
java.lang.Object value1,
java.lang.Object key2,
java.lang.Object value2,
java.lang.Object key3,
java.lang.Object value3,
java.lang.Object key4,
java.lang.Object value4,
java.lang.Object key5,
java.lang.Object value5) |
GraphQLContext.Builder |
put(java.lang.Object key1,
java.lang.Object value1) |
GraphQLContext.Builder |
putAll(java.util.Map<?,java.lang.Object> mapOfContext)
Adds all of the values in the map into the context builder.
|
public GraphQLContext.Builder put(java.lang.Object key1, java.lang.Object value1)
public GraphQLContext.Builder of(java.lang.Object key1, java.lang.Object value1)
public GraphQLContext.Builder of(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2)
public GraphQLContext.Builder of(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2, java.lang.Object key3, java.lang.Object value3)
public GraphQLContext.Builder of(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2, java.lang.Object key3, java.lang.Object value3, java.lang.Object key4, java.lang.Object value4)
public GraphQLContext.Builder of(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2, java.lang.Object key3, java.lang.Object value3, java.lang.Object key4, java.lang.Object value4, java.lang.Object key5, java.lang.Object value5)
public GraphQLContext.Builder of(java.util.Map<?,java.lang.Object> mapOfContext)
mapOfContext
- the map to put into contextpublic GraphQLContext.Builder putAll(java.util.Map<?,java.lang.Object> mapOfContext)
mapOfContext
- the map to put into contextpublic GraphQLContext.Builder of(GraphQLContext graphQLContext)
graphQLContext
- a previous graphql contextpublic GraphQLContext.Builder of(GraphQLContext.Builder graphQLContextBuilder)
graphQLContextBuilder
- a graphql context builderpublic GraphQLContext build()