Class CoursesCSVController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.CoursesCSVController
@RequestMapping("/api/courses/csv")
@RestController
public class CoursesCSVController
extends ApiController
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> csvForCourses(String yyyyq, String testException) Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException 
- 
Constructor Details
- 
CoursesCSVController
public CoursesCSVController() 
 - 
 - 
Method Details
- 
csvForCourses
@GetMapping(value="/quarter", produces="text/csv") public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> csvForCourses(@RequestParam String yyyyq, @RequestParam(required=false,defaultValue="") String testException) throws Exception, IOException - Throws:
 ExceptionIOException
 
 -