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, removeListenerdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic 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 AbstractGraphQLHttpServletprotected graphql.kickstart.execution.GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker in class AbstractGraphQLHttpServletprotected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory in class AbstractGraphQLHttpServletprotected graphql.kickstart.execution.GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper in class AbstractGraphQLHttpServletprotected boolean isAsyncServletMode()
isAsyncServletMode in class AbstractGraphQLHttpServlet