public interface HttpClientHandler
HttpRequestParser and
HttpResponseParser.| Modifier and Type | Method and Description |
|---|---|
void |
handleReceive(HttpClientResponse response,
Span span)
Finishes the client span after assigning it tags according to the response or
error.
|
Span |
handleSend(HttpClientRequest request)
Starts the client span after assigning it a name and tags.
|
Span |
handleSend(HttpClientRequest request,
TraceContext parent)
Same as
handleSend(HttpClientRequest) but with an explicit parent
TraceContext. |
Span handleSend(HttpClientRequest request)
request - to inject the tracing context withSpan handleSend(HttpClientRequest request, @Nullable TraceContext parent)
handleSend(HttpClientRequest) but with an explicit parent
TraceContext.request - to inject the tracing context withparent - TraceContext that is to be the client side span's parentvoid handleReceive(HttpClientResponse response, Span span)
response - the HTTP responsespan - span to be endedCopyright © 2021 Pivotal Software, Inc.. All rights reserved.