Class NotifyControllerImpl

java.lang.Object
de.dlr.proseo.notification.rest.NotifyControllerImpl
All Implemented Interfaces:
NotifyController

@Component public class NotifyControllerImpl extends Object implements NotifyController
REST controller that receives and processes notifications by delegating the task of sending messages to the SendManager class, and it handles exceptions and returns appropriate responses to the client
Author:
Ernst Melchinger
  • Constructor Details

    • NotifyControllerImpl

      public NotifyControllerImpl()
  • Method Details

    • notifyx

      public org.springframework.http.ResponseEntity<?> notifyx(RestMessage restMessage)
      Process and send the REST message
      Specified by:
      notifyx in interface NotifyController
      Parameters:
      restMessage - the REST message to send
      Returns:
      The response entity