Package com.restfb.webhook
Class Webhook
java.lang.Object
com.restfb.webhook.Webhook
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
Webhook
public Webhook()
-
-
Method Details
-
registerListener
registers an listener that handles the messaging Items of an incoming webhook request- Parameters:
listener
-
-
registerListener
registers a listener that handles the change values of an incoming webhook request- Parameters:
listener
-
-
process
-