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(JsonObject json)
Constructor to create options from JSON. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isRequestBatchingEnabled()  | 
GraphQLHandlerOptions | 
setRequestBatchingEnabled(boolean requestBatchingEnabled)
Whether request batching should be enabled. 
 | 
JsonObject | 
toJson()  | 
public static final boolean DEFAULT_REQUEST_BATCHING_ENABLED
public GraphQLHandlerOptions()
public GraphQLHandlerOptions(GraphQLHandlerOptions other)
other - the options to copypublic GraphQLHandlerOptions(JsonObject json)
json - the JSONpublic JsonObject toJson()
public boolean isRequestBatchingEnabled()
public GraphQLHandlerOptions setRequestBatchingEnabled(boolean requestBatchingEnabled)
false.requestBatchingEnabled - true to enable request batching, false otherwiseCopyright © 2020 Eclipse. All rights reserved.