Class NotificationTransportApiManagerRest

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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​(java.lang.String strApiManagerCredentials)
      Sets the API Manager credentials
      void setApiManagerEndPoint​(java.lang.String strApiManagerEndPoint)
      setter of apiManagerEndPoint
      void setHttpTransport​(IHttpTransportProvider httpTransport)
      setter of httpTransport
      void setNotificationEndPoint​(java.lang.String strNotificationEndPoint)
      setter of notificationEndPoint
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationTransportApiManagerRest

        public NotificationTransportApiManagerRest()
        Simple Constructor
    • Method Detail

      • setApiManagerEndPoint

        public void setApiManagerEndPoint​(java.lang.String strApiManagerEndPoint)
        setter of apiManagerEndPoint
        Parameters:
        strApiManagerEndPoint - value to use
      • setApiManagerCredentials

        public void setApiManagerCredentials​(java.lang.String strApiManagerCredentials)
        Sets the API Manager credentials
        Parameters:
        strApiManagerCredentials - the API Manager credentials
      • 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