public class SendNotificationAsJson extends Object implements IsendNotificationAsJson
| Constructor and Description |
|---|
SendNotificationAsJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken(String strKeyPropertiesCredentials)
Gets the token.
|
static SendNotificationAsJson |
instance()
Instance.
|
void |
send(INotification notification)
Send.
|
void |
send(INotification notification,
String strToken)
Send.
|
void |
send(INotification notification,
String strToken,
Map<String,String> headers)
Send.
|
void |
send(INotification notification,
String strToken,
Map<String,String> headers,
String url) |
public static SendNotificationAsJson instance()
public String getToken(String strKeyPropertiesCredentials)
IsendNotificationAsJsongetToken in interface IsendNotificationAsJsonstrKeyPropertiesCredentials - the str tokenpublic void send(INotification notification, String strToken, Map<String,String> headers)
IsendNotificationAsJsonsend in interface IsendNotificationAsJsonnotification - the notificationstrToken - the str tokenheaders - the headerspublic void send(INotification notification, String strToken)
IsendNotificationAsJsonsend in interface IsendNotificationAsJsonnotification - the notificationstrToken - the str tokenpublic void send(INotification notification)
IsendNotificationAsJsonsend in interface IsendNotificationAsJsonnotification - the notificationpublic void send(INotification notification, String strToken, Map<String,String> headers, String url)
send in interface IsendNotificationAsJsonCopyright © 2016 City of Paris. All rights reserved.