Class BitBucketPPRHookReceiver
java.lang.Object
hudson.security.csrf.CrumbExclusion
io.jenkins.plugins.bitbucketpushandpullrequest.receiver.BitBucketPPRHookReceiver
- All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction, UnprotectedRootAction
@Extension
public class BitBucketPPRHookReceiver
extends CrumbExclusion
implements UnprotectedRootAction
BitbucketHookReceiver processes HTTP POST requests sent to $JENKINS_URL/bitbucket-hook/
- Author:
- cdelmonte
-
Nested Class Summary
Nested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CrumbExclusion
all, processMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RootAction
getBadge, isPrimaryAction
-
Constructor Details
-
BitBucketPPRHookReceiver
public BitBucketPPRHookReceiver()
-
-
Method Details
-
doIndex
@POST public void doIndex(@NonNull org.kohsuke.stapler.StaplerRequest request, @NonNull org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
process
public boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Overrides:
processin classCrumbExclusion- Throws:
IOExceptionjavax.servlet.ServletException
-