public class SimpleGraphQLHttpServlet extends AbstractGraphQLHttpServlet
Modifier and Type | Class and Description |
---|---|
static class |
SimpleGraphQLHttpServlet.Builder |
AbstractGraphQLHttpServlet.HttpRequestHandler
Constructor and Description |
---|
SimpleGraphQLHttpServlet() |
SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory,
GraphQLQueryInvoker queryInvoker,
GraphQLObjectMapper graphQLObjectMapper,
java.util.List<GraphQLServletListener> listeners,
boolean asyncServletMode)
Deprecated.
use
GraphQLHttpServlet instead |
SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory,
GraphQLQueryInvoker queryInvoker,
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 GraphQLObjectMapper |
getGraphQLObjectMapper() |
protected GraphQLInvocationInputFactory |
getInvocationInputFactory() |
protected GraphQLQueryInvoker |
getQueryInvoker() |
protected boolean |
isAsyncServletMode() |
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, 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, GraphQLQueryInvoker queryInvoker, GraphQLObjectMapper graphQLObjectMapper, java.util.List<GraphQLServletListener> listeners, boolean asyncServletMode)
GraphQLHttpServlet
instead@Deprecated public SimpleGraphQLHttpServlet(GraphQLInvocationInputFactory invocationInputFactory, GraphQLQueryInvoker queryInvoker, GraphQLObjectMapper graphQLObjectMapper, java.util.List<GraphQLServletListener> listeners, boolean asyncServletMode, long subscriptionTimeout)
GraphQLHttpServlet
insteadprotected GraphQLConfiguration getConfiguration()
getConfiguration
in class AbstractGraphQLHttpServlet
protected GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker
in class AbstractGraphQLHttpServlet
protected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory
in class AbstractGraphQLHttpServlet
protected GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper
in class AbstractGraphQLHttpServlet
protected boolean isAsyncServletMode()
isAsyncServletMode
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)