public class DefaultGraphQLServlet extends AbstractGraphQLHttpServlet
AbstractGraphQLHttpServlet.HttpRequestHandler
APPLICATION_GRAPHQL, APPLICATION_JSON_UTF8, log, STATUS_BAD_REQUEST, STATUS_OK
Constructor and Description |
---|
DefaultGraphQLServlet() |
Modifier and Type | Method and Description |
---|---|
protected GraphQLObjectMapper |
getGraphQLObjectMapper() |
protected GraphQLInvocationInputFactory |
getInvocationInputFactory() |
protected GraphQLQueryInvoker |
getQueryInvoker() |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected boolean |
isAsyncServletMode() |
addListener, doGet, doPost, executeQuery, getConfiguration, getMutations, getQueries, removeListener
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init(javax.servlet.ServletConfig servletConfig)
init
in interface javax.servlet.Servlet
init
in class AbstractGraphQLHttpServlet
protected GraphQLInvocationInputFactory getInvocationInputFactory()
getInvocationInputFactory
in class AbstractGraphQLHttpServlet
protected GraphQLQueryInvoker getQueryInvoker()
getQueryInvoker
in class AbstractGraphQLHttpServlet
protected GraphQLObjectMapper getGraphQLObjectMapper()
getGraphQLObjectMapper
in class AbstractGraphQLHttpServlet
protected boolean isAsyncServletMode()
isAsyncServletMode
in class AbstractGraphQLHttpServlet