Context.Builder |
Context.Builder.loadCloudTraceContext(String cloudTrace) |
Sets the trace id and span id values by parsing the string which represents xCloud Trace
Context.
|
Context.Builder |
Context.Builder.loadW3CTraceParentContext(String traceParent) |
Sets the trace id and span id values by parsing the string which represents the standard W3C
trace context propagation header.
|
static Context.Builder |
Context.newBuilder() |
Returns a builder for HttpRequest objects.
|
Context.Builder |
Context.Builder.setReferer(String referer) |
Sets the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
|
Context.Builder |
Context.Builder.setRemoteIp(String remoteIp) |
Sets the IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
Context.Builder |
Context.Builder.setRequest(HttpRequest request) |
Sets the HTTP request.
|
Context.Builder |
Context.Builder.setRequestMethod(HttpRequest.RequestMethod method) |
Sets the HTTP request method.
|
Context.Builder |
Context.Builder.setRequestUrl(String url) |
|
Context.Builder |
Context.Builder.setServerIp(String serverIp) |
Sets the IP address (IPv4 or IPv6) of the origin server that the request was sent to.
|
Context.Builder |
Context.Builder.setSpanId(String spanId) |
Sets the string as a span id value.
|
Context.Builder |
Context.Builder.setTraceId(String traceId) |
Sets the string as a trace id value.
|
Context.Builder |
Context.toBuilder() |
Returns a builder for this object.
|