|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.manager.webhook.WebhookPinger
public class WebhookPinger
Synchronously ping a Webhook.
| Constructor Summary | |
|---|---|
WebhookPinger()
Constructs a pinger using an HTTP client with the default configuration. |
|
WebhookPinger(org.apache.http.client.HttpClient httpClient)
Constructs a pinger using the provided, already configured HTTP client. |
|
| Method Summary | |
|---|---|
void |
ping(Webhook webhook)
Synchronously ping a Webhook and throw IOException if the ping cannot be delivered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebhookPinger()
public WebhookPinger(org.apache.http.client.HttpClient httpClient)
httpClient - a configured HTTP client which will be used to ping the Webhook callbacks.| Method Detail |
|---|
public void ping(Webhook webhook)
throws IOException
webhook - webhook to be pinged.
IOException - if the ping cannot be delivered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||