Class CourseByInstructorController

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

@RestController @RequestMapping("/api/public/coursebyinstructor") public class CourseByInstructorController extends Object
  • Constructor Details

    • CourseByInstructorController

      public CourseByInstructorController()
  • Method Details

    • search

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