Package io.smallrye.graphql.entry.http
Class ExecutionServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- io.smallrye.graphql.entry.http.ExecutionServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@WebServlet(name="SmallRyeGraphQLExecutionServlet", urlPatterns="/graphql/*", loadOnStartup=1) public class ExecutionServlet extends jakarta.servlet.http.HttpServletExecuting the GraphQL request- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecutionServlet()ExecutionServlet(io.smallrye.graphql.execution.ExecutionService executionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)protected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, service
-
-
-
-
Method Detail
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
IOException
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Throws:
IOException
-
-