Package com.restfb.webhook
Class Webhook
- java.lang.Object
-
- com.restfb.webhook.Webhook
-
-
Constructor Summary
Constructors Constructor Description Webhook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(WebhookObject webhookObject)
void
registerListener(WebhookChangeListener listener)
registers a listener that handles the change values of an incoming webhook requestvoid
registerListener(WebhookMessagingListener listener)
registers an listener that handles the messaging Items of an incoming webhook request
-
-
-
Constructor Detail
-
Webhook
public Webhook()
-
-
Method Detail
-
registerListener
public void registerListener(WebhookMessagingListener listener)
registers an listener that handles the messaging Items of an incoming webhook request- Parameters:
listener
-
-
registerListener
public void registerListener(WebhookChangeListener listener)
registers a listener that handles the change values of an incoming webhook request- Parameters:
listener
-
-
process
public void process(WebhookObject webhookObject)
-
-