Class ExportController


  • @RestController
    @RequestMapping("/api/export")
    public class ExportController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<org.springframework.core.io.FileSystemResource> getStatisticsFile​(FilteredCasesRequest requestBody, org.springframework.security.core.Authentication auth, java.util.Locale locale)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExportController

        public ExportController()
    • Method Detail

      • getStatisticsFile

        @PostMapping(value="/filteredCases",
                     consumes="application/json",
                     produces="application/octet-stream")
        public org.springframework.http.ResponseEntity<org.springframework.core.io.FileSystemResource> getStatisticsFile​(@RequestBody
                                                                                                                         FilteredCasesRequest requestBody,
                                                                                                                         org.springframework.security.core.Authentication auth,
                                                                                                                         java.util.Locale locale)
                                                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception