Class SearchByInstructorController

java.lang.Object
edu.ucsb.cs156.courses.controllers.SearchByInstructorController

@RestController @RequestMapping("/api/public/courseovertime") public class SearchByInstructorController extends Object
  • Constructor Details

    • SearchByInstructorController

      public SearchByInstructorController()
  • Method Details

    • search

      @GetMapping(value="/instructorsearch", produces="application/json") public org.springframework.http.ResponseEntity<String> search(@RequestParam String startQtr, @RequestParam String endQtr, @RequestParam String instructor) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException