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 Details

  • 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 class org.kohsuke.stapler.AnnotationHandler<GHEventHeader>
      Parameters:
      type - should be combined with type of GHEvent
      Returns:
      parsed GHEvent or null on empty header or unknown value
      Throws:
      javax.servlet.ServletException