Package brave.http
Class HttpClientResponse
java.lang.Object
brave.Response
brave.http.HttpResponse
brave.http.HttpClientResponse
public abstract class HttpClientResponse extends HttpResponse
Marks an interface for use in
HttpClientHandler.handleReceive(Object, Throwable, Span).
This gives a standard type to consider when parsing an incoming context.- Since:
- 5.7
- See Also:
HttpClientRequest
-
Constructor Summary
Constructors Constructor Description HttpClientResponse() -
Method Summary
-
Constructor Details
-
HttpClientResponse
public HttpClientResponse()
-
-
Method Details
-
spanKind
-
request
The request that initiated this HTTP response ornullif unknown.Implementations should return the last wire-level request that caused this response or error. HTTP properties like path and headers might be different, due to redirects or authentication. Some properties might not be visible until response processing, notably
HttpResponse.route().- Overrides:
requestin classHttpResponse
-
error
-