Class WebhookRootAction
- java.lang.Object
-
- hudson.security.csrf.CrumbExclusion
-
- org.jenkinsci.plugins.webhookstep.WebhookRootAction
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
,UnprotectedRootAction
@Extension public class WebhookRootAction extends CrumbExclusion implements UnprotectedRootAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WebhookRootAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
deregisterWebhook(WaitForWebhookExecution exec)
void
doDynamic(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
boolean
process(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.FilterChain chain)
static void
registerAuthToken(WebhookToken hook)
static WebhookResponse
registerWebhook(WaitForWebhookExecution exec)
-
Methods inherited from class hudson.security.csrf.CrumbExclusion
all
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doDynamic
@POST public void doDynamic(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
-
registerAuthToken
public static void registerAuthToken(WebhookToken hook)
-
registerWebhook
public static WebhookResponse registerWebhook(WaitForWebhookExecution exec)
-
deregisterWebhook
public static void deregisterWebhook(WaitForWebhookExecution exec)
-
process
public boolean process(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
- Specified by:
process
in classCrumbExclusion
- Throws:
IOException
javax.servlet.ServletException
-
-