Package de.dlr.proseo.api.cadipmon.rest
Class CadipStatusControllerImpl
java.lang.Object
de.dlr.proseo.api.cadipmon.rest.CadipStatusControllerImpl
- All Implemented Interfaces:
StatusController
Spring MVC controller for the prosEO CADIP Monitor; implements the services required to inquire about the interface status
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RestInterfaceStatus> getRestInterfaceStatusByCadipid(String cadipid, org.springframework.http.HttpHeaders httpHeaders) Get the interface status for the given CADIP Monitor
-
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:
getRestInterfaceStatusByCadipidin interfaceStatusController- Parameters:
cadipid- the CADIP Monitor identifierhttpHeaders- 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
-