public interface InvocationHandler
Invocation handler that allows execution of GraphQL requests without a WebServer.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder to configure the invocation handler.
- 
Method SummaryModifier and TypeMethodDescriptionConfigured set of exceptions that are blacklisted.static InvocationHandler.Builderbuilder()Fluent API builder to configure the invocation handler.static InvocationHandlercreate(graphql.schema.GraphQLSchema schema) Create a handler for GraphQL schema.Configured default error message.Execute a GraphQL query.Execute a GraphQL query.The schema of this GraphQL endpoint.Configured set of exceptions that are whitelisted.
- 
Method Details- 
createCreate a handler for GraphQL schema.- Parameters:
- schema- schema to use
- Returns:
- a new invocation handler
 
- 
builderFluent API builder to configure the invocation handler.- Returns:
- a new builder
 
- 
executeExecute a GraphQL query.- Parameters:
- query- query string
- Returns:
- GraphQL result
 
- 
executeExecute a GraphQL query.- Parameters:
- query- query string
- operationName- operation name
- variables- variables to use (optional)
- Returns:
- GraphQL result
 
- 
schemaStringString schemaString()The schema of this GraphQL endpoint.- Returns:
- schema as a string
 
- 
defaultErrorMessageString defaultErrorMessage()Configured default error message.- Returns:
- default error message
 
- 
blacklistedExceptionsConfigured set of exceptions that are blacklisted.- Returns:
- blacklisted exception class set
 
- 
whitelistedExceptionsConfigured set of exceptions that are whitelisted.- Returns:
- whitelisted exception class set
 
 
-