public class SimpleGraphQLHttpServlet extends AbstractGraphQLHttpServlet
Modifier and Type | Class and Description |
---|---|
static class |
SimpleGraphQLHttpServlet.Builder |
AbstractGraphQLHttpServlet.HttpRequestHandler
APPLICATION_GRAPHQL, APPLICATION_JSON_UTF8, log, STATUS_BAD_REQUEST, STATUS_OK
Modifier and Type | Method and Description |
---|---|
protected GraphQLObjectMapper |
getGraphQLObjectMapper() |
protected GraphQLInvocationInputFactory |
getInvocationInputFactory() |
protected GraphQLQueryInvoker |
getQueryInvoker() |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(GraphQLInvocationInputFactory invocationInputFactory) |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(graphql.schema.GraphQLSchema schema) |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(GraphQLSchemaProvider schemaProvider) |
addListener, doGet, doPost, executeQuery, getMutations, getQueries, removeListener
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
protected GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker
in class AbstractGraphQLHttpServlet
protected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory
in class AbstractGraphQLHttpServlet
protected GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper
in class AbstractGraphQLHttpServlet
public static SimpleGraphQLHttpServlet.Builder newBuilder(graphql.schema.GraphQLSchema schema)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLSchemaProvider schemaProvider)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLInvocationInputFactory invocationInputFactory)