Class SchemaServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    @WebServlet(name="SmallRyeGraphQLSchemaServlet",
                urlPatterns="/graphql/schema.graphql",
                loadOnStartup=2)
    public class SchemaServlet
    extends jakarta.servlet.http.HttpServlet
    Serving the GraphQL schema
    Author:
    Phillip Kruger (phillip.kruger@redhat.com)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)  
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • SchemaServlet

        public SchemaServlet()
    • Method Detail

      • doGet

        protected void doGet​(jakarta.servlet.http.HttpServletRequest request,
                             jakarta.servlet.http.HttpServletResponse response)
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet