Package net.morimekta.providence.graphql
Class GQLSchemaServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- net.morimekta.providence.graphql.GQLSchemaServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class GQLSchemaServlet extends javax.servlet.http.HttpServlet
A servlet for serving graphql given a GQL service and associated providers. Spec for serving GraphQL over HTTP can be found here.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GQLSchemaServlet(GQLDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Constructor Detail
-
GQLSchemaServlet
public GQLSchemaServlet(@Nonnull GQLDefinition definition)
-
-