Class CadipStatusControllerImpl

java.lang.Object
de.dlr.proseo.api.cadipmon.rest.CadipStatusControllerImpl
All Implemented Interfaces:
StatusController

@Component public class CadipStatusControllerImpl extends Object implements StatusController
Spring MVC controller for the prosEO CADIP Monitor; implements the services required to inquire about the interface status
Author:
Dr. Thomas Bassler
  • Constructor Details

    • CadipStatusControllerImpl

      public CadipStatusControllerImpl()
  • Method Details

    • getRestInterfaceStatusByCadipid

      public org.springframework.http.ResponseEntity<RestInterfaceStatus> getRestInterfaceStatusByCadipid(String cadipid, org.springframework.http.HttpHeaders httpHeaders)
      Get the interface status for the given CADIP Monitor
      Specified by:
      getRestInterfaceStatusByCadipid in interface StatusController
      Parameters:
      cadipid - the CADIP Monitor identifier
      httpHeaders - the HTTP request headers (injected)
      Returns:
      HTTP status "OK" and the Json representation of the interface status information, or HTTP status "FORBIDDEN" and an error message, if an invalid CADIP Monitor identifier was passed