Package org.iplass.mtp.webhook
Interface WebhookManager
- All Superinterfaces:
Manager
-
Method Summary
Modifier and TypeMethodDescriptioncreateWebhook
(String webhookDefinitionName, Map<String, Object> binding) Create the Webhook from definition.createWebhook
(String webhookDefinitionName, Map<String, Object> binding, String endpointDefinitionName) Create the Webhook from definition.getEndpoint
(String definitionName, Map<String, Object> binding) Create the WebhookEndpoint class by name.void
Send Webhook asynchronouslyvoid
Send Webhook synchronously
-
Method Details
-
createWebhook
Webhook createWebhook(String webhookDefinitionName, Map<String, Object> binding, String endpointDefinitionName) Create the Webhook from definition.- Parameters:
webhookDefinitionName
- Webhook definition namebinding
- Content bindingsendpointDefinitionName
- WebhookEndpoint definition name
-
createWebhook
Create the Webhook from definition.- Parameters:
webhookDefinitionName
- Webhook definition namebinding
- Content bindings
-
getEndpoint
Create the WebhookEndpoint class by name.- Parameters:
definitionName
- WebhookEndpoint definition namebinding
- Content bindings
-
sendWebhookAsync
Send Webhook asynchronously- Parameters:
wh
- Webhook instance
-
sendWebhookSync
Send Webhook synchronously- Parameters:
wh
- Webhook instance
-