Class ChatbotRootAction

java.lang.Object
io.jenkins.plugins.chatbot.ChatbotRootAction
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction

@Extension public class ChatbotRootAction extends Object implements RootAction
  • Constructor Details

    • ChatbotRootAction

      public ChatbotRootAction()
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • doDynamic

      public void doDynamic(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException
      CENTRAL ROUTING METHOD Handles ALL requests to /chatbot/... to prevent routing conflicts.
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doWhoAmI

      @GET public void doWhoAmI(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException
      DEBUG ENDPOINT: /chatbot/whoAmI
      Throws:
      IOException
      jakarta.servlet.ServletException