public static class CMEventPayload.PayloadHandler extends org.kohsuke.stapler.AnnotationHandler<CMEventPayload>
| Modifier and Type | Field and Description | 
|---|---|
| static String | CHALLENGE_PARAM | 
| Constructor and Description | 
|---|
| PayloadHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static Function<org.kohsuke.stapler.StaplerRequest,CMEvent> | fromBody()Processes the payload from a POST body with JSON content. | 
| protected static Function<org.kohsuke.stapler.StaplerRequest,CMEvent> | fromParam()Processes the payload from a challenge parameter request. | 
| Object | parse(org.kohsuke.stapler.StaplerRequest request,
     CMEventPayload cmEventPayload,
     Class clazz,
     String paramName)Parse the request into a  CMEventobject. | 
public static final String CHALLENGE_PARAM
public Object parse(org.kohsuke.stapler.StaplerRequest request, CMEventPayload cmEventPayload, Class clazz, String paramName) throws javax.servlet.ServletException
CMEvent object. A null value is returned if the request can't be parsed.parse in class org.kohsuke.stapler.AnnotationHandler<CMEventPayload>javax.servlet.ServletExceptionprotected static Function<org.kohsuke.stapler.StaplerRequest,CMEvent> fromParam()
Copyright © 2020–2021 Adobe Inc. All rights reserved.