zhengyangyong commented on a change in pull request #47: General development 
dir translation and include img
URL: 
https://github.com/apache/incubator-servicecomb-docs/pull/47#discussion_r212517350
 
 

 ##########
 File path: java-chassis-reference/en_US/general-development/file-download.md
 ##########
 @@ -1,34 +1,34 @@
-文件下载,当前在vertx rest通道和servlet rest中可用。
+File downloads are currently available in the vertx rest channel and servlet 
rest.
 
-# 一、Producer
+# First, producer
 
-## 1.下载普通文件
+## 1. Download normal files
 
 ```
 return new File(......);
 ```
 
-## 2.下载临时文件
+## 2. Download temporary files
 
-本场景下,需要根据请求参数动态创建临时文件,下载完成后,需要将临时文件删除
+In this scenario, you need to create temporary files based on the request 
parameters dynamically. After the download is complete, you need to delete the 
temporary files.
 
 ```
 return new FilePart(file).setDeleteAfterFinished(true);
 ```
 
-## 3.下载org.springframework.core.io.Resource
+## 3. Download org.springframework.core.io.Resource
 
-因为resource不一定表示文件下载,所以需要通过swagger annotation(@ApiResponse)标识这是一个文件下载场景
+Because the resource does not necessarily mean file download, you need to 
identify this file download scenario by swagger annotation (@ApiResponse).
 
 Review comment:
   这句翻译请重新整理

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to