Class UCSBCurriculumController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.UCSBCurriculumController
@RestController
@RequestMapping("/api/public")
public class UCSBCurriculumController
extends ApiController
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String> basicsearch(String qtr, String dept, String level) org.springframework.http.ResponseEntity<String> finalsInfo(String quarterYYYYQ, String enrollCd) org.springframework.http.ResponseEntity<String[]> Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException 
- 
Constructor Details
- 
UCSBCurriculumController
public UCSBCurriculumController() 
 - 
 - 
Method Details
- 
basicsearch
@GetMapping(value="/basicsearch", produces="application/json") public org.springframework.http.ResponseEntity<String> basicsearch(@RequestParam String qtr, @RequestParam String dept, @RequestParam String level) throws Exception - Throws:
 Exception
 - 
finalsInfo
@GetMapping(value="/finalsInfo", produces="application/json") public org.springframework.http.ResponseEntity<String> finalsInfo(@RequestParam String quarterYYYYQ, @RequestParam String enrollCd) throws Exception - Throws:
 Exception
 - 
generalEducationAreas
@GetMapping(value="/generalEducationInfo", produces="application/json") public org.springframework.http.ResponseEntity<String[]> generalEducationAreas() throws Exception- Throws:
 Exception
 
 -