@Controller @RequestMapping(value="/files") public class FileDownloadController extends Object
| Constructor and Description |
|---|
FileDownloadController(FileStore fileStore,
DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
void |
getFile(String id,
javax.servlet.http.HttpServletResponse response) |
public static final String URI
public FileDownloadController(FileStore fileStore, DataService dataService)
@GetMapping(value="/{id:.+}")
public void getFile(@PathVariable(value="id")
String id,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.