Class EdipStatusControllerImpl

java.lang.Object
de.dlr.proseo.api.edipmon.rest.EdipStatusControllerImpl
All Implemented Interfaces:
StatusController

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

    • EdipStatusControllerImpl

      public EdipStatusControllerImpl()
  • Method Details

    • getRestInterfaceStatusByEdipid

      public org.springframework.http.ResponseEntity<RestInterfaceStatus> getRestInterfaceStatusByEdipid(String edipid, org.springframework.http.HttpHeaders httpHeaders)
      Get the interface status for the given EDIP Monitor
      Specified by:
      getRestInterfaceStatusByEdipid in interface StatusController
      Parameters:
      edipid - the EDIP 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 EDIP Monitor identifier was passed