Class NotificationTransportRest

    • Constructor Detail

      • NotificationTransportRest

        public NotificationTransportRest()
        Simple Constructor
      • NotificationTransportRest

        public NotificationTransportRest​(IHttpTransportProvider httpTransport)
        Constructor with IHttpTransportProvider parameter
        Parameters:
        httpTransport - the provider to use
    • Method Detail

      • setNotificationEndPoint

        public void setNotificationEndPoint​(java.lang.String strNotificationEndPoint)
        setter of notificationEndPoint
        Parameters:
        strNotificationEndPoint - value to use
      • setHttpTransport

        public void setHttpTransport​(IHttpTransportProvider httpTransport)
        setter of httpTransport
        Parameters:
        httpTransport - IHttpTransportProvider to use
      • send

        public 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
        Specified by:
        send in interface INotificationTransportProvider
        Parameters:
        notification - the notification
        Returns:
        a notifyGruResponse