public class SimpleGraphQLHttpServlet extends AbstractGraphQLHttpServlet
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleGraphQLHttpServlet.Builder |
AbstractGraphQLHttpServlet.HttpRequestHandlerAPPLICATION_EVENT_STREAM_UTF8, APPLICATION_GRAPHQL, APPLICATION_JSON_UTF8, log, STATUS_BAD_REQUEST, STATUS_OK| 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 GraphQLBatchExecutionHandlerFactory |
getBatchExecutionHandlerFactory() |
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, removeListenerdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic 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 AbstractGraphQLHttpServletprotected GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker in class AbstractGraphQLHttpServletprotected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory in class AbstractGraphQLHttpServletprotected GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper in class AbstractGraphQLHttpServletprotected GraphQLBatchExecutionHandlerFactory getBatchExecutionHandlerFactory()
getBatchExecutionHandlerFactory in class AbstractGraphQLHttpServletprotected boolean isAsyncServletMode()
isAsyncServletMode in class AbstractGraphQLHttpServletpublic static SimpleGraphQLHttpServlet.Builder newBuilder(graphql.schema.GraphQLSchema schema)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLSchemaProvider schemaProvider)
public static SimpleGraphQLHttpServlet.Builder newBuilder(GraphQLInvocationInputFactory invocationInputFactory)