| Package | Description |
|---|---|
| com.contentful.java.cma | |
| com.contentful.java.cma.model |
| Modifier and Type | Method and Description |
|---|---|
CMAWebhook |
ModuleWebhooks.create(CMAWebhook webhook)
Create a new webhook.
|
CMAWebhook |
ModuleWebhooks.create(String spaceId,
CMAWebhook webhook)
Create a new webhook.
|
CMAWebhook |
ModuleWebhooks.fetchOne(String webhookId)
Retrieve exactly one webhook, whose id you know.
|
CMAWebhook |
ModuleWebhooks.fetchOne(String spaceId,
String webhookId)
Retrieve exactly one webhook, whose id you know.
|
CMAWebhook |
ModuleWebhooks.update(CMAWebhook webhook)
Change the content of a webhook.
|
| Modifier and Type | Method and Description |
|---|---|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(String spaceId,
CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll()
Retrieve all the webhooks defined the configured space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll() |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(Map<String,String> query)
Retrieve specific webhooks matching a query for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(Map<String,String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(Map) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(String spaceId)
Retrieve all the webhooks defined for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(String spaceId,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String) |
CMAArray<CMAWebhook> |
ModuleWebhooks.fetchAll(String spaceId,
Map<String,String> query)
Retrieve specific webhooks matching a query for this space.
|
CMACallback<CMAArray<CMAWebhook>> |
ModuleWebhooks.Async.fetchAll(String spaceId,
Map<String,String> query,
CMACallback<CMAArray<CMAWebhook>> callback)
Asynchronous variant of
ModuleWebhooks.fetchAll(String, Map) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.fetchOne(String spaceId,
String webhookId,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.fetchOne(String, String) |
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.update(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.update(CMAWebhook) |
| Modifier and Type | Method and Description |
|---|---|
CMAArray<CMAWebhookCall> |
ModuleWebhooks.calls(CMAWebhook webhook) |
CMACallback<CMAArray<CMAWebhookCall>> |
ModuleWebhooks.Async.calls(CMAWebhook webhook,
CMACallback<CMAArray<CMAWebhookCall>> callback)
Asynchronous variant of
ModuleWebhooks.calls(CMAWebhook) |
CMAArray<CMAWebhookCall> |
ModuleWebhooks.calls(CMAWebhook webhook,
Map<String,String> query)
Get more information about a specific webhook.
|
CMACallback<CMAArray<CMAWebhookCall>> |
ModuleWebhooks.Async.calls(CMAWebhook webhook,
Map<String,String> query,
CMACallback<CMAArray<CMAWebhookCall>> callback)
Asynchronous variant of
ModuleWebhooks.calls(CMAWebhook)
with query parameter. |
CMAWebhook |
ModuleWebhooks.create(CMAWebhook webhook)
Create a new webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
CMAWebhook |
ModuleWebhooks.create(String spaceId,
CMAWebhook webhook)
Create a new webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.create(String spaceId,
CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.create(String, CMAWebhook) |
Integer |
ModuleWebhooks.delete(CMAWebhook webhook)
Delete a given Webhook.
|
CMACallback<Integer> |
ModuleWebhooks.Async.delete(CMAWebhook webhook,
CMACallback<Integer> callback)
Asynchronous variant of
ModuleWebhooks.delete(CMAWebhook) |
CMAWebhookHealth |
ModuleWebhooks.health(CMAWebhook webhook)
Return a general understanding of the health of the webhook.
|
CMACallback<CMAWebhookHealth> |
ModuleWebhooks.Async.health(CMAWebhook webhook,
CMACallback<CMAWebhookHealth> callback)
Asynchronous variant of
ModuleWebhooks.health(CMAWebhook) |
CMAWebhook |
ModuleWebhooks.update(CMAWebhook webhook)
Change the content of a webhook.
|
CMACallback<CMAWebhook> |
ModuleWebhooks.Async.update(CMAWebhook webhook,
CMACallback<CMAWebhook> callback)
Asynchronous variant of
ModuleWebhooks.update(CMAWebhook) |
| Modifier and Type | Method and Description |
|---|---|
CMAWebhook |
CMAWebhook.addHeader(String key,
String value)
Adds a custom http header to the call done by this webhook.
|
CMAWebhook |
CMAWebhook.addTopic(CMAWebhookTopic topic)
Add a topic this webhook should be triggered on.
|
CMAWebhook |
CMAWebhook.setBasicAuthorization(String user,
String password)
Set authorization parameter for basic HTTP authorization on the url to be called by this
webhook.
|
CMAWebhook |
CMAWebhook.setId(String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem(). |
CMAWebhook |
CMAWebhook.setName(String name)
Set the name of this webhook.
|
CMAWebhook |
CMAWebhook.setSpaceId(String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem(). |
CMAWebhook |
CMAWebhook.setSystem(CMASystem system)
Sets the system field.
|
CMAWebhook |
CMAWebhook.setTransformation(CMAWebhookTransformation transformation)
Set the transformation of this webhook
|
CMAWebhook |
CMAWebhook.setUrl(String url)
Sets the url to be called when this webhook is triggered.
|
CMAWebhook |
CMAWebhook.setVersion(Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem(). |
Copyright © 2026 Contentful, GmbH.. All rights reserved.