public interface HttpServerHandler
HttpRequestParser and
HttpResponseParser.| Modifier and Type | Method and Description |
|---|---|
Span |
handleReceive(HttpServerRequest request)
Conditionally joins a span, or starts a new trace, depending on if a trace context
was extracted from the request.
|
void |
handleSend(HttpServerResponse response,
Span span)
Finishes the server span after assigning it tags according to the response or
error.
|
Span handleReceive(HttpServerRequest request)
request - HTTP requestvoid handleSend(HttpServerResponse response, Span span)
response - HTTP responsespan - server side span to endCopyright © 2021 Pivotal Software, Inc.. All rights reserved.