Class UCSBSectionsController
java.lang.Object
edu.ucsb.cs156.courses.controllers.UCSBSectionsController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> basicsearch
(String qtr, String dept, String level) org.springframework.http.ResponseEntity
<String> sectionsearch
(String qtr, String enrollCode)
-
Constructor Details
-
UCSBSectionsController
public UCSBSectionsController()
-
-
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
-
sectionsearch
@GetMapping(value="/sectionsearch", produces="application/json") public org.springframework.http.ResponseEntity<String> sectionsearch(@RequestParam String qtr, @RequestParam String enrollCode) throws Exception - Throws:
Exception
-