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_r212530089
 
 

 ##########
 File path: java-chassis-reference/en_US/general-development/http-filter.md
 ##########
 @@ -1,32 +1,32 @@
-某些场景中,业务使用http而不是https,作为网络传输通道,此时为了防止被伪造或篡改请求,需要提供consumer、producer之间对http码流的签名功能。
+In some scenarios, the service uses http instead of https as the network 
transmission channel. To prevent the falsification or tampering request, 
consumer and the producer must be provided a method to signature the http 
stream.
 
-签名功能使用org.apache.servicecomb.common.rest.filter.HttpClientFilter和org.apache.servicecomb.common.rest.filter.HttpServerFilter接口来承载,建议http码流强相关的逻辑使用这里的Filter机制,而契约参数相关逻辑使用Handler机制。
+The signature method is carried using the 
org.apache.servicecomb.common.rest.filter.HttpClientFilter and 
org.apache.servicecomb.common.rest.filter.HttpServerFilter interfaces. It is 
recommended that the http stream related logic use the Filter mechanism here, 
and the contract The parameter related logic uses the Handler mechanism.
 
-关于Filter接口的使用,可以参考[demo-signature](https://github.com/ServiceComb/ServiceComb-Java-Chassis/tree/master/demo/demo-signature)。
+About the use of the Filter interface, please reference [demo-signature] 
(https://github.com/ServiceComb/ServiceComb-Java-Chassis/tree/master/demo/demo-signature).
 
 
 
-# 1.概述
+# 1 Overview
 
-Filter机制使用Java标准的SPI机制加载。
+The Filter mechanism is loaded using the Java standard SPI mechanism.
 
-HttpClientFilter、HttpServerFilter都各自允许加载多个:
+Both HttpClientFilter and HttpServerFilter allow multiple loads:
 
-* 各实例之间的执行顺序由getOrder的返回值决定
+* The order of execution between instances is determined by the return value 
of getOrder
 
-* 如果getOrder返回值相同,则相应的实例顺序随机决定
+* If getOrder returns the same value, the corresponding instance order is 
randomly determined
 
-无论是request,还是response,读取body码流,都使用getBodyBytes\(\),返回值可能为null(比如get调用的场景),如果不为null,对应的码流长度,通过getBodyBytesLength\(\)获取。
+Whether it is request or response, read the body stream, use getBodyBytes\ 
(\), the return value may be null (such as the scene called get), if not null, 
the corresponding stream length, Obtain through getBodyBytesLength\ (\ ).
 
 Review comment:
   such as the scene called get 修一下

----------------------------------------------------------------
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