public class GraphQLHandlerOptions extends Object
GraphQLHandler
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_REQUEST_BATCHING_ENABLED
Whether request batching should be enabled by default = false.
|
Constructor and Description |
---|
GraphQLHandlerOptions()
Default constructor.
|
GraphQLHandlerOptions(GraphQLHandlerOptions other)
Copy constructor.
|
GraphQLHandlerOptions(io.vertx.core.json.JsonObject json)
Constructor to create options from JSON.
|
Modifier and Type | Method and Description |
---|---|
GraphiQLOptions |
getGraphiQLOptions() |
boolean |
isRequestBatchingEnabled() |
GraphQLHandlerOptions |
setGraphiQLOptions(GraphiQLOptions graphiQLOptions)
Configure the GraphiQL development tool.
|
GraphQLHandlerOptions |
setRequestBatchingEnabled(boolean requestBatchingEnabled)
Whether request batching should be enabled.
|
io.vertx.core.json.JsonObject |
toJson() |
public static final boolean DEFAULT_REQUEST_BATCHING_ENABLED
public GraphQLHandlerOptions()
public GraphQLHandlerOptions(GraphQLHandlerOptions other)
other
- the options to copypublic GraphQLHandlerOptions(io.vertx.core.json.JsonObject json)
json
- the JSONpublic io.vertx.core.json.JsonObject toJson()
public boolean isRequestBatchingEnabled()
public GraphQLHandlerOptions setRequestBatchingEnabled(boolean requestBatchingEnabled)
false
.requestBatchingEnabled
- true to enable request batching, false otherwisepublic GraphiQLOptions getGraphiQLOptions()
public GraphQLHandlerOptions setGraphiQLOptions(GraphiQLOptions graphiQLOptions)
graphiQLOptions
- the GraphiQLOptions
options to useCopyright © 2019 Eclipse. All rights reserved.