Search in sources :

Example 1 with TraceProxyRequestHelper

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;
}
Also used : TraceProxyRequestHelper(org.springframework.cloud.netflix.zuul.filters.TraceProxyRequestHelper) Bean(org.springframework.context.annotation.Bean)

Aggregations

TraceProxyRequestHelper (org.springframework.cloud.netflix.zuul.filters.TraceProxyRequestHelper)1 Bean (org.springframework.context.annotation.Bean)1