public class SimpleGraphQLServlet extends GraphQLServlet
GraphQLServlet.GraphQLRequest, GraphQLServlet.RequestHandler, GraphQLServlet.VariablesDeserializerAPPLICATION_JSON_UTF8, log, STATUS_BAD_REQUEST, STATUS_OK| Constructor and Description |
|---|
SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema) |
SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
graphql.execution.ExecutionStrategy executionStrategy) |
SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
ExecutionStrategyProvider executionStrategyProvider) |
SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
ExecutionStrategyProvider executionStrategyProvider,
java.util.List<GraphQLServletListener> listeners,
graphql.execution.instrumentation.Instrumentation instrumentation,
GraphQLErrorHandler errorHandler) |
SimpleGraphQLServlet(GraphQLSchemaProvider schemaProvider,
ExecutionStrategyProvider executionStrategyProvider,
java.util.List<GraphQLServletListener> listeners,
graphql.execution.instrumentation.Instrumentation instrumentation,
GraphQLErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected GraphQLContext |
createContext(java.util.Optional<javax.servlet.http.HttpServletRequest> request,
java.util.Optional<javax.servlet.http.HttpServletResponse> response) |
protected ExecutionStrategyProvider |
getExecutionStrategyProvider() |
protected GraphQLErrorHandler |
getGraphQLErrorHandler() |
protected graphql.execution.instrumentation.Instrumentation |
getInstrumentation() |
protected GraphQLSchemaProvider |
getSchemaProvider() |
protected java.util.Map<java.lang.String,java.lang.Object> |
transformVariables(graphql.schema.GraphQLSchema schema,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> variables) |
addListener, doGet, doPost, executeQuery, getMutations, getQueries, removeListenerdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema)
public SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
graphql.execution.ExecutionStrategy executionStrategy)
public SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
ExecutionStrategyProvider executionStrategyProvider)
public SimpleGraphQLServlet(graphql.schema.GraphQLSchema schema,
ExecutionStrategyProvider executionStrategyProvider,
java.util.List<GraphQLServletListener> listeners,
graphql.execution.instrumentation.Instrumentation instrumentation,
GraphQLErrorHandler errorHandler)
public SimpleGraphQLServlet(GraphQLSchemaProvider schemaProvider, ExecutionStrategyProvider executionStrategyProvider, java.util.List<GraphQLServletListener> listeners, graphql.execution.instrumentation.Instrumentation instrumentation, GraphQLErrorHandler errorHandler)
protected GraphQLSchemaProvider getSchemaProvider()
getSchemaProvider in class GraphQLServletprotected GraphQLContext createContext(java.util.Optional<javax.servlet.http.HttpServletRequest> request, java.util.Optional<javax.servlet.http.HttpServletResponse> response)
createContext in class GraphQLServletprotected ExecutionStrategyProvider getExecutionStrategyProvider()
getExecutionStrategyProvider in class GraphQLServletprotected graphql.execution.instrumentation.Instrumentation getInstrumentation()
getInstrumentation in class GraphQLServletprotected java.util.Map<java.lang.String,java.lang.Object> transformVariables(graphql.schema.GraphQLSchema schema,
java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> variables)
transformVariables in class GraphQLServletprotected GraphQLErrorHandler getGraphQLErrorHandler()
getGraphQLErrorHandler in class GraphQLServlet