public class SimpleGraphQLHttpServlet extends AbstractGraphQLHttpServlet
Modifier and Type | Class and Description |
---|---|
static class |
SimpleGraphQLHttpServlet.Builder |
Constructor and Description |
---|
SimpleGraphQLHttpServlet() |
SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory,
graphql.kickstart.execution.GraphQLQueryInvoker queryInvoker,
graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper,
java.util.List<GraphQLServletListener> listeners,
boolean asyncServletMode)
Deprecated.
use
GraphQLHttpServlet instead |
SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory,
graphql.kickstart.execution.GraphQLQueryInvoker queryInvoker,
graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper,
java.util.List<GraphQLServletListener> listeners,
boolean asyncServletMode,
long subscriptionTimeout)
Deprecated.
use
GraphQLHttpServlet instead |
Modifier and Type | Method and Description |
---|---|
protected GraphQLConfiguration |
getConfiguration() |
protected graphql.kickstart.execution.GraphQLObjectMapper |
getGraphQLObjectMapper() |
protected GraphQLInvocationInputFactory |
getInvocationInputFactory() |
protected graphql.kickstart.execution.GraphQLQueryInvoker |
getQueryInvoker() |
protected boolean |
isAsyncServletMode() |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(GraphQLInvocationInputFactory invocationInputFactory) |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(graphql.schema.GraphQLSchema schema) |
static SimpleGraphQLHttpServlet.Builder |
newBuilder(GraphQLSchemaServletProvider schemaProvider) |
addListener, doGet, doPost, executeQuery, getMutations, getQueries, init, removeListener
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public SimpleGraphQLHttpServlet()
@Deprecated public SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory, graphql.kickstart.execution.GraphQLQueryInvoker queryInvoker, graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper, java.util.List<GraphQLServletListener> listeners, boolean asyncServletMode)
GraphQLHttpServlet
instead@Deprecated public SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory, graphql.kickstart.execution.GraphQLQueryInvoker queryInvoker, graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper, java.util.List<GraphQLServletListener> listeners, boolean asyncServletMode, long subscriptionTimeout)
GraphQLHttpServlet
insteadpublic static SimpleGraphQLHttpServlet.Builder newBuilder(graphql.schema.GraphQLSchema schema)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLSchemaServletProvider schemaProvider)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLInvocationInputFactory invocationInputFactory)
protected GraphQLConfiguration getConfiguration()
getConfiguration
in class AbstractGraphQLHttpServlet
protected graphql.kickstart.execution.GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker
in class AbstractGraphQLHttpServlet
protected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory
in class AbstractGraphQLHttpServlet
protected graphql.kickstart.execution.GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper
in class AbstractGraphQLHttpServlet
protected boolean isAsyncServletMode()
isAsyncServletMode
in class AbstractGraphQLHttpServlet