Package de.dlr.proseo.api.auxipmon.rest
Class AuxipStatusControllerImpl
java.lang.Object
de.dlr.proseo.api.auxipmon.rest.AuxipStatusControllerImpl
- All Implemented Interfaces:
StatusController
Spring MVC controller for the prosEO AUXIP 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> getRestInterfaceStatusByAuxipid(String auxipid, org.springframework.http.HttpHeaders httpHeaders) Get the interface status for the given AUXIP Monitor
-
Constructor Details
-
AuxipStatusControllerImpl
public AuxipStatusControllerImpl()
-
-
Method Details
-
getRestInterfaceStatusByAuxipid
public org.springframework.http.ResponseEntity<RestInterfaceStatus> getRestInterfaceStatusByAuxipid(String auxipid, org.springframework.http.HttpHeaders httpHeaders) Get the interface status for the given AUXIP Monitor- Specified by:
getRestInterfaceStatusByAuxipidin interfaceStatusController- Parameters:
auxipid- the AUXIP 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 AUXIP Monitor identifier was passed
-