public class Webhook extends BasePOJO
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HTTP_HEADERS_GROOVY_VAR |
static java.lang.String |
HTTP_REMOTE_ADDR_GROOVY_VAR |
static java.lang.String |
HTTP_REMOTE_HOST_GROOVY_VAR |
static java.lang.String |
MESSAGE_ID_GROOVY_VAR |
static java.lang.String |
PAYLOAD_GROOVY_VAR |
static java.lang.String |
PRISTINE_PAYLOAD_GROOVY_VAR |
static java.lang.String |
QUERY_PARAMS_GROOVY_VAR |
Constructor and Description |
---|
Webhook() |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(java.lang.String key,
java.lang.String value) |
void |
addProperty(java.lang.String key,
java.lang.String value) |
void |
addQueryParam(java.lang.String key,
java.lang.String value) |
java.util.Map<java.lang.String,java.lang.Object> |
getBindingVariables() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
java.lang.String |
getPristinePayload() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParams() |
java.lang.String |
getWebhookPath() |
java.lang.Object |
getWorkingPayload() |
void |
setHeaders(java.util.Map<java.lang.String,java.lang.String> pHeaders) |
void |
setPayload(java.lang.String pPayload) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> pProperties) |
void |
setQueryParams(java.util.Map<java.lang.String,java.lang.String> pQueryParams) |
void |
setWebhookPath(java.lang.String pWebhookPath) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
public static final java.lang.String PAYLOAD_GROOVY_VAR
public static final java.lang.String HTTP_HEADERS_GROOVY_VAR
public static final java.lang.String QUERY_PARAMS_GROOVY_VAR
public static final java.lang.String HTTP_REMOTE_ADDR_GROOVY_VAR
public static final java.lang.String HTTP_REMOTE_HOST_GROOVY_VAR
public static final java.lang.String MESSAGE_ID_GROOVY_VAR
public static final java.lang.String PRISTINE_PAYLOAD_GROOVY_VAR
public void setPayload(java.lang.String pPayload)
public java.lang.String getPristinePayload()
public java.lang.Object getWorkingPayload()
public void setHeaders(java.util.Map<java.lang.String,java.lang.String> pHeaders)
public void addHeader(java.lang.String key, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public void setQueryParams(java.util.Map<java.lang.String,java.lang.String> pQueryParams)
public void addQueryParam(java.lang.String key, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getQueryParams()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> pProperties)
public void addProperty(java.lang.String key, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setWebhookPath(java.lang.String pWebhookPath)
public java.lang.String getWebhookPath()
public java.util.Map<java.lang.String,java.lang.Object> getBindingVariables()