public abstract class NotificationRunnable<MQ extends MessageQueue,EO extends NotifierConfigurationExecutionOptions> extends Object implements Runnable, Thread.UncaughtExceptionHandler
Modifier and Type | Class and Description |
---|---|
class |
NotificationRunnable.Header |
Modifier and Type | Field and Description |
---|---|
protected static String |
ACCEPT_TYPE_JSON |
protected static String |
ACCEPT_TYPE_TEXT_PLAIN |
protected static String |
DATADOG_ENDPOINT |
protected static String |
DATADOG_RESOURCE |
protected EO |
executionOptions |
protected static String |
HEADER_CONTENTTYPE |
protected static String |
HIPCHAT_ENDPOINT |
protected static String |
HIPCHAT_RESOURCE |
protected static String |
HTTP_METHOD_POST |
protected static String |
NEWRELIC_ENDPOINT |
protected static String |
NEWRELIC_RESOURCE |
protected MQ |
queue |
protected static String |
SLACK_ENDPOINT |
protected static String |
SLACK_RESOURCE |
Constructor and Description |
---|
NotificationRunnable() |
Modifier and Type | Method and Description |
---|---|
protected HttpURLConnection |
createConnection(URL url,
NotificationRunnable.Header... headers) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
uncaughtException
protected static final String HTTP_METHOD_POST
protected static final String ACCEPT_TYPE_JSON
protected static final String ACCEPT_TYPE_TEXT_PLAIN
protected static final String HIPCHAT_ENDPOINT
protected static final String HIPCHAT_RESOURCE
protected static final String SLACK_ENDPOINT
protected static final String SLACK_RESOURCE
protected static final String NEWRELIC_ENDPOINT
protected static final String NEWRELIC_RESOURCE
protected static final String DATADOG_ENDPOINT
protected static final String DATADOG_RESOURCE
protected static final String HEADER_CONTENTTYPE
protected MQ extends MessageQueue queue
protected EO extends NotifierConfigurationExecutionOptions executionOptions
protected HttpURLConnection createConnection(URL url, NotificationRunnable.Header... headers) throws IOException
IOException
Copyright © 2019. All rights reserved.