Package brave.http
Class HttpClientRequest
java.lang.Object
brave.Request
brave.http.HttpRequest
brave.http.HttpClientRequest
public abstract class HttpClientRequest extends HttpRequest
Marks an interface for use in
HttpClientHandler.handleSend(HttpClientRequest). This gives
a standard type to consider when parsing an outgoing context.- Since:
- 5.7
- See Also:
HttpClientResponse
-
Constructor Summary
Constructors Constructor Description HttpClientRequest() -
Method Summary
Methods inherited from class brave.http.HttpRequest
header, method, path, route, startTimestamp, url
-
Constructor Details
-
HttpClientRequest
public HttpClientRequest()
-
-
Method Details
-
spanKind
-
header
Sets a request header with the indicated name.nullvalues are unsupported.This is only used when
injectinga trace context as internally implemented byHttpClientHandler. Calls during sampling or parsing are invalid and may be ignored by instrumentation.- Since:
- 5.7
- See Also:
SETTER
-