HttpStatus.Create的使用和PUT的关系
在看别人的一个开源工程时,有段代码引起了我的疑惑:
/**
* 下载
* @param file 文件
* @param fileName 生成的文件名
* @return {ResponseEntity}
*/
protected ResponseEntity<Resource> download(File file, String fileName) {
...
原创
2018-07-26 19:57:31 ·
1780 阅读 ·
0 评论