Interface WebhookManager

All Superinterfaces:
Manager

public interface WebhookManager extends Manager
  • Method Details

    • createWebhook

      Webhook createWebhook(String webhookDefinitionName, Map<String,Object> binding, String endpointDefinitionName)
      Create the Webhook from definition.
      Parameters:
      webhookDefinitionName - Webhook definition name
      binding - Content bindings
      endpointDefinitionName - WebhookEndpoint definition name
    • createWebhook

      Webhook createWebhook(String webhookDefinitionName, Map<String,Object> binding)
      Create the Webhook from definition.
      Parameters:
      webhookDefinitionName - Webhook definition name
      binding - Content bindings
    • getEndpoint

      WebhookEndpoint getEndpoint(String definitionName, Map<String,Object> binding)
      Create the WebhookEndpoint class by name.
      Parameters:
      definitionName - WebhookEndpoint definition name
      binding - Content bindings
    • sendWebhookAsync

      void sendWebhookAsync(Webhook wh)
      Send Webhook asynchronously
      Parameters:
      wh - Webhook instance
    • sendWebhookSync

      void sendWebhookSync(Webhook wh)
      Send Webhook synchronously
      Parameters:
      wh - Webhook instance