Class Endpoint

java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.mcp.server.Endpoint
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class Endpoint extends CrumbExclusion implements RootAction
  • Field Details

  • Constructor Details

    • Endpoint

      public Endpoint() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
  • Method Details

    • getRequestedResourcePath

      public static String getRequestedResourcePath(jakarta.servlet.http.HttpServletRequest httpServletRequest)
    • process

      public boolean process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Overrides:
      process in class CrumbExclusion
      Throws:
      IOException
      jakarta.servlet.ServletException
    • init

      protected void init() throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException
    • 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
    • handleSSE

      protected void handleSSE(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • handleMessage

      protected void handleMessage(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException