Class GraphQLFilesDownloadController

java.lang.Object
io.jmix.graphql.controller.GraphQLFilesDownloadController

@RestController("graphql_FileDownloadController") public class GraphQLFilesDownloadController extends Object
GraphQL API controller that is used for downloading files
  • Field Details

  • Constructor Details

    • GraphQLFilesDownloadController

      public GraphQLFilesDownloadController()
  • Method Details

    • downloadFile

      @GetMapping("/graphql/files") public void downloadFile(@RequestParam("fileRef") String fileRef, @RequestParam(required=false) Boolean attachment, javax.servlet.http.HttpServletResponse response)