Class DataSetDownloadController
- java.lang.Object
-
- org.optaweb.vehiclerouting.plugin.websocket.DataSetDownloadController
-
@Controller class DataSetDownloadController extends Object
Serves the current data set as a downloadable YAML file.
-
-
Constructor Summary
Constructors Constructor Description DataSetDownloadController(DemoService demoService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>exportDataSet()
-
-
-
Constructor Detail
-
DataSetDownloadController
DataSetDownloadController(DemoService demoService)
-
-
Method Detail
-
exportDataSet
@GetMapping("/dataset/export") @ResponseBody public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> exportDataSet() throws IOException- Throws:
IOException
-
-