Class SystemInfoController

java.lang.Object
edu.ucsb.cs156.example.controllers.ApiController
edu.ucsb.cs156.example.controllers.SystemInfoController

@RequestMapping("/api/systemInfo") @RestController public class SystemInfoController extends ApiController
  • Constructor Details

    • SystemInfoController

      public SystemInfoController()
  • Method Details

    • getSystemInfo

      @PreAuthorize("hasRole(\'ROLE_ADMIN\')") @GetMapping("") public SystemInfo getSystemInfo()