Class LifecycleResource

    • Method Detail

      • supports

        public boolean supports​(HttpExtension.Method method)
        Description copied from class: ApiResource
        Returns true if this resource supports a given method.
        Overrides:
        supports in class ApiResource
        Parameters:
        method - the method
        Returns:
        true if this resource supports the given method
      • doGet

        public void doGet​(jakarta.servlet.http.HttpServletRequest req,
                          jakarta.servlet.http.HttpServletResponse resp)
                   throws jakarta.servlet.ServletException,
                          IOException
        Overrides:
        doGet in class ApiResource
        Throws:
        jakarta.servlet.ServletException
        IOException
      • doPost

        public void doPost​(jakarta.servlet.http.HttpServletRequest req,
                           jakarta.servlet.http.HttpServletResponse resp)
                    throws jakarta.servlet.ServletException,
                           IOException
        Overrides:
        doPost in class ApiResource
        Throws:
        jakarta.servlet.ServletException
        IOException