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
Fields Modifier and Type Field Description static String
EVENT_HEADER
-
Constructor Summary
Constructors Constructor Description PayloadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
parse(org.kohsuke.stapler.StaplerRequest req, GHEventHeader a, Class type, String param)
-
-
-
Field Detail
-
EVENT_HEADER
public static final String EVENT_HEADER
- See Also:
- Developer manual, Constant Field Values
-
-
Method Detail
-
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
-
-