@Before
public void setUp() throws Exception {
super.setUp();
this.clientBuilder = new TracingHttpClientBuilder(DefaultRedirectStrategy.INSTANCE, false, mockTracer,
Collections.<ApacheClientSpanDecorator>singletonList(new ApacheClientSpanDecorator.StandardTags()));
this.serverBootstrap.registerHandler(RedirectHandler.MAPPING, new RedirectHandler())
.registerHandler(PropagationHandler.MAPPING, new PropagationHandler());
this.serverHost = super.start();
}
TracingHttpClientBuilderTest.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:java-apache-httpclient
作者:
评论列表
文章目录