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