Class RequestClient
java.lang.Object
org.graylog.integrations.notifications.types.util.RequestClient
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RequestClient
@Inject public RequestClient(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
send
public void send(String message, String webhookUrl) throws TemporaryEventNotificationException, PermanentEventNotificationException - Parameters:
message
-webhookUrl
-- Throws:
TemporaryEventNotificationException
- - thrown for network or timeout type issuesPermanentEventNotificationException
- - thrown with bad webhook url, authentication error type issues
-