Class GHEventHeader.PayloadHandler
java.lang.Object
org.kohsuke.stapler.AnnotationHandler<GHEventHeader>
org.jenkinsci.plugins.github.webhook.GHEventHeader.PayloadHandler
- Enclosing class:
GHEventHeader
public static class GHEventHeader.PayloadHandler
extends org.kohsuke.stapler.AnnotationHandler<GHEventHeader>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(org.kohsuke.stapler.StaplerRequest req, GHEventHeader a, Class type, String param) Methods inherited from class org.kohsuke.stapler.AnnotationHandler
convert
-
Field Details
-
EVENT_HEADER
- See Also:
-
-
Constructor Details
-
PayloadHandler
public PayloadHandler()
-
-
Method Details
-
parse
public Object parse(org.kohsuke.stapler.StaplerRequest req, GHEventHeader a, Class type, String param) throws javax.servlet.ServletException - Specified by:
parse
in classorg.kohsuke.stapler.AnnotationHandler<GHEventHeader>
- Parameters:
type
- should be combined with type ofGHEvent
- Returns:
- parsed
GHEvent
or null on empty header or unknown value - Throws:
javax.servlet.ServletException
-