From 0d2e60063f49e3cf254b578e8e5b980485f5576c Mon Sep 17 00:00:00 2001 From: wusheng Date: Sat, 12 Dec 2015 16:14:57 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A2=9E=E5=8A=A0httpClient=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=20dubbox-rest=E7=9A=84=E5=87=BD=E6=95=B0=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample-code/codeView.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample-code/codeView.html b/sample-code/codeView.html index 289842b1e..487ec08fe 100644 --- a/sample-code/codeView.html +++ b/sample-code/codeView.html @@ -153,8 +153,8 @@ public class XXXDBTracingDriver extends TracingDriver {

使用SWTracingHttpClient封装所需的httpClient,此httpClient所有调用都会被监控

HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient());
-

上下文将被存储在http request head,中,默认名称和SkyWalkingFilter保持一致。如果使用dubbox的rest提供的http请求,请使用方法重载

-
HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient(), "");
+

上下文将被存储在http request head,中,默认名称和SkyWalkingFilter保持一致。
如果服务端使用dubbox 2.4.3 的提供的http-rest,请使用方法重载

+
HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient(), "Dubbo-Attachments");