public final class NotificationTransportApiManagerRest extends Object implements INotificationTransportProvider
| Constructor and Description |
|---|
NotificationTransportApiManagerRest()
Simple Constructor
|
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse |
send(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
Send a Notification GRU can throw AppException in case of problem with the JSON request
|
void |
setApiManagerCredentials(String strApiManagerCredentials)
Sets the API Manager credentials
|
void |
setApiManagerEndPoint(String strApiManagerEndPoint)
setter of apiManagerEndPoint
|
void |
setHttpTransport(IHttpTransportProvider httpTransport)
setter of httpTransport
|
void |
setNotificationEndPoint(String strNotificationEndPoint)
setter of notificationEndPoint
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendpublic NotificationTransportApiManagerRest()
public void setApiManagerEndPoint(String strApiManagerEndPoint)
strApiManagerEndPoint - value to usepublic void setApiManagerCredentials(String strApiManagerCredentials)
strApiManagerCredentials - the API Manager credentialspublic void setNotificationEndPoint(String strNotificationEndPoint)
strNotificationEndPoint - value to usepublic void setHttpTransport(IHttpTransportProvider httpTransport)
httpTransport - IHttpTransportProvider to usepublic fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse send(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
send in interface INotificationTransportProvidernotification - the notificationCopyright © 2021 City of Paris. All rights reserved.