use of org.springframework.cloud.netflix.zuul.filters.TraceProxyRequestHelper in project spring-boot-admin by codecentric.
the class RevereseZuulProxyConfiguration method proxyRequestHelper.
@Bean
public ProxyRequestHelper proxyRequestHelper() {
TraceProxyRequestHelper helper = new TraceProxyRequestHelper();
if (this.traces != null) {
helper.setTraces(this.traces);
}
helper.setIgnoredHeaders(this.zuulProperties.getIgnoredHeaders());
helper.setTraceRequestBody(this.zuulProperties.isTraceRequestBody());
return helper;
}
Aggregations