All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.servlet.DefaultGraphQLServlet Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package graphql.servlet;

import javax.servlet.ServletConfig;

public class DefaultGraphQLServlet extends AbstractGraphQLHttpServlet {

    @Override
    public void init(ServletConfig servletConfig) {

        super.init(servletConfig);
    }

    @Override
    protected GraphQLInvocationInputFactory getInvocationInputFactory() {
        return null;
    }

    @Override
    protected GraphQLQueryInvoker getQueryInvoker() {
        return GraphQLQueryInvoker.newBuilder().build();
    }

    @Override
    protected GraphQLObjectMapper getGraphQLObjectMapper() {
        return GraphQLObjectMapper.newBuilder().build();
    }

    @Override
    protected boolean isAsyncServletMode() {
        return false;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy