Package de.dlr.proseo.api.edipmon.rest
Class EdipStatusControllerImpl
java.lang.Object
de.dlr.proseo.api.edipmon.rest.EdipStatusControllerImpl
- All Implemented Interfaces:
StatusController
Spring MVC controller for the prosEO EDIP 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> getRestInterfaceStatusByEdipid(String edipid, org.springframework.http.HttpHeaders httpHeaders) Get the interface status for the given EDIP Monitor
-
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:
getRestInterfaceStatusByEdipidin interfaceStatusController- Parameters:
edipid- the EDIP 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 EDIP Monitor identifier was passed
-