Package edu.ucsb.cs156.rec.controllers
Class SystemInfoController
java.lang.Object
edu.ucsb.cs156.rec.controllers.ApiController
edu.ucsb.cs156.rec.controllers.SystemInfoController
@RequestMapping("/api/systemInfo")
@RestController
public class SystemInfoController
extends ApiController
This is a REST controller for getting information about the system.
It allows frontend access to some of the global values set in the
backend of the application, some of which are set by environment
variables.
For more information see the SystemInfoService and SystemInfo classes.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the system information.Methods inherited from class edu.ucsb.cs156.rec.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException
-
Constructor Details
-
SystemInfoController
public SystemInfoController()
-
-
Method Details
-
getSystemInfo
This method returns the system information.- Returns:
- the system information
-