apm-agent-plugins/apm-apache-httpclient/apm-apache-httpclient5-plugin/src/main/java/co/elastic/apm/agent/httpclient/v5/helper/AsyncRequestProducerWrapper.java [50:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public AsyncRequestProducerWrapper with(AsyncRequestProducer delegate, @Nullable Span<?> span,
                                            TraceState<?> toPropagate) {
        this.span = span;
        toPropagate.incrementReferences();
        this.toPropagate = toPropagate;
        this.delegate = delegate;
        return this;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



apm-agent-plugins/apm-apache-httpclient/apm-apache-httpclient4-plugin/src/main/java/co/elastic/apm/agent/httpclient/v4/helper/HttpAsyncRequestProducerWrapper.java [62:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public HttpAsyncRequestProducerWrapper with(HttpAsyncRequestProducer delegate, @Nullable Span<?> span,
                                                TraceState<?> toPropagate) {
        // Order is important due to visibility - write to delegate last on this (initiating) thread
        this.span = span;
        toPropagate.incrementReferences();
        this.toPropagate = toPropagate;
        this.delegate = delegate;
        return this;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



