Package org.apache.unomi.graphql.servlet
Class GraphQLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.jetty.websocket.servlet.WebSocketServlet
org.apache.unomi.graphql.servlet.GraphQLServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class GraphQLServlet
extends org.eclipse.jetty.websocket.servlet.WebSocketServlet
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory) protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) protected voiddoOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) voidinit(javax.servlet.ServletConfig config) protected voidservice(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) voidsetGraphQLSchemaUpdater(GraphQLSchemaUpdater graphQLSchemaUpdater) voidsetServiceManager(ServiceManager serviceManager) Methods inherited from class org.eclipse.jetty.websocket.servlet.WebSocketServlet
destroy, initMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doPut, doTrace, getLastModified, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Field Details
-
SCHEMA_URL
- See Also:
-
-
Constructor Details
-
GraphQLServlet
public GraphQLServlet()
-
-
Method Details
-
setServiceManager
-
setGraphQLSchemaUpdater
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
configure
public void configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory) - Specified by:
configurein classorg.eclipse.jetty.websocket.servlet.WebSocketServlet
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
servicein classorg.eclipse.jetty.websocket.servlet.WebSocketServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
doOptions
protected void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doOptionsin classjavax.servlet.http.HttpServlet- Throws:
IOException
-