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 inHttpClientHandler.handleReceive(HttpClientResponse, Span). This gives a standard type to consider when parsing an incoming context.- Since:
- 5.7
- See Also:
- HttpClientRequest
 
- 
- 
Constructor SummaryConstructors Constructor Description HttpClientResponse()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwableerror()HttpClientRequestrequest()The request that initiated this HTTP response ornullif unknown.Span.KindspanKind()- 
Methods inherited from class brave.http.HttpResponsefinishTimestamp, method, route, statusCode
 
- 
 
- 
- 
- 
Method Detail- 
request@Nullable public HttpClientRequest 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 class- HttpResponse
 
 
- 
 
-