Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- build() - Method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor.Builder
-
Creates a new instance of
HelixHttpLoggingInterceptor. - build() - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Builds an instance of
HelixMetadataInterceptor. - build() - Method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor.Builder
-
Creates a new instance of
DistributedTracingInterceptor. - builder() - Static method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor
-
Gets a builder for
HelixHttpLoggingInterceptor. - builder() - Static method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor
-
Gets the builder for
DistributedTracingInterceptor. - builder(HelixEnvironment) - Static method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor
-
Creates a builder for
HelixMetadataInterceptor. - Builder() - Constructor for class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor.Builder
C
- com.helixframework.resttemplate.errorhandler - package com.helixframework.resttemplate.errorhandler
- com.helixframework.resttemplate.logging - package com.helixframework.resttemplate.logging
- com.helixframework.resttemplate.metadata - package com.helixframework.resttemplate.metadata
- com.helixframework.resttemplate.requestid - package com.helixframework.resttemplate.requestid
- com.helixframework.resttemplate.tracing - package com.helixframework.resttemplate.tracing
- com.helixframework.resttemplate.tracing.datadog - package com.helixframework.resttemplate.tracing.datadog
- com.helixframework.resttemplate.tracing.zipkin - package com.helixframework.resttemplate.tracing.zipkin
D
- DatadogIdProvider - Class in com.helixframework.resttemplate.tracing.datadog
-
Generates trace and span identifiers that are Datadog compliant.
- DatadogIdProvider() - Constructor for class com.helixframework.resttemplate.tracing.datadog.DatadogIdProvider
- DatadogTraceHeaderProvider - Class in com.helixframework.resttemplate.tracing.datadog
-
Provider that returns the names of the HTTP headers used by Datadog for distributed tracing.
- DatadogTraceHeaderProvider() - Constructor for class com.helixframework.resttemplate.tracing.datadog.DatadogTraceHeaderProvider
- DatadogTraceProvider - Class in com.helixframework.resttemplate.tracing.datadog
-
Trace provider for Datadog.
- DatadogTraceProvider() - Constructor for class com.helixframework.resttemplate.tracing.datadog.DatadogTraceProvider
- DistributedTracingInterceptor - Class in com.helixframework.resttemplate.tracing
-
RestTemplate interceptor that adds distributed tracing data to downstream requests.
- DistributedTracingInterceptor.Builder - Class in com.helixframework.resttemplate.tracing
-
Builder for creating new instances of
DistributedTracingInterceptor.
E
- excludeMetadata(String) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Excludes a metadata key from being passed downstream in the metadata header.
- excludeMetadata(Collection<String>) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Excludes a collection of metadata keys from being passed downstream in the metadata header.
G
- getSpanId() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogTraceProvider
- getSpanId() - Method in interface com.helixframework.resttemplate.tracing.TraceProvider
-
Gets the span identifier.
- getSpanId() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceProvider
- getSpanIdHeaderName() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogTraceHeaderProvider
- getSpanIdHeaderName() - Method in interface com.helixframework.resttemplate.tracing.TraceHeaderProvider
-
Gets the name of the span id http header.
- getSpanIdHeaderName() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceHeaderProvider
- getTraceId() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogTraceProvider
- getTraceId() - Method in interface com.helixframework.resttemplate.tracing.TraceProvider
-
Gets the trace identifier.
- getTraceId() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceProvider
- getTraceIdHeaderName() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogTraceHeaderProvider
- getTraceIdHeaderName() - Method in interface com.helixframework.resttemplate.tracing.TraceHeaderProvider
-
Gets the name of the trace id http header.
- getTraceIdHeaderName() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceHeaderProvider
H
- handleError(ClientHttpResponse) - Method in class com.helixframework.resttemplate.errorhandler.NoopResponseErrorHandler
- hasError(ClientHttpResponse) - Method in class com.helixframework.resttemplate.errorhandler.NoopResponseErrorHandler
- headerName(String) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Sets the name of the metadata header to pass downstream.
- HelixHttpLoggingInterceptor - Class in com.helixframework.resttemplate.logging
-
RestTemplate interceptor that logs the http request and response in a standardized format.
- HelixHttpLoggingInterceptor.Builder - Class in com.helixframework.resttemplate.logging
-
Builder for creating new instances of
HelixHttpLoggingInterceptor. - HelixMetadataInterceptor - Class in com.helixframework.resttemplate.metadata
-
RestTemplate interceptor that sets the `X-Metadata` header on downstream requests with values found in the helix context.
- HelixMetadataInterceptor.Builder - Class in com.helixframework.resttemplate.metadata
-
Builds instances of
HelixMetadataInterceptor.
I
- idProvider(IdProvider) - Method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor.Builder
-
Sets the
IdProviderused by the interceptor. - IdProvider - Interface in com.helixframework.resttemplate.tracing
-
Generates a trace id and span id.
- includeMetadata(String) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Adds a metadata key to include in the downstream metadata header.
- includeMetadata(Collection<String>) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor.Builder
-
Adds a collection of metadata keys to include in the downstream metadata header.
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class com.helixframework.resttemplate.metadata.HelixMetadataInterceptor
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class com.helixframework.resttemplate.requestid.RequestIdInterceptor
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor
L
- logger(Logger) - Method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a custom
Logger. - lowerHexToUnsignedLong(String) - Static method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider.ZipkinHexHelpers
-
Parses a 1 to 32 character lower-hex string with no prefix into an unsigned long, tossing any bits higher than 64.
N
- newDatadogInterceptor() - Static method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor
-
Builds a
DistributedTracingInterceptorinstance pre-configured to work with Datadog. - newZipkinTracingInterceptor() - Static method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor
-
Builds a
DistributedTracingInterceptorinstance pre-configured to work with any Zipkin compatible tracing system. - NoopResponseErrorHandler - Class in com.helixframework.resttemplate.errorhandler
-
RestTemplate error handler that suppresses the default error handler which throws exceptions when 4xx and 5xx series status codes are returned.
- NoopResponseErrorHandler() - Constructor for class com.helixframework.resttemplate.errorhandler.NoopResponseErrorHandler
R
- redactHeader(String) - Method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a header to redact from logging.
- redactHeaders(Set<String>) - Method in class com.helixframework.resttemplate.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a set of headers to redact from logging.
- REQUEST_ID_CTX_NAME - Static variable in class com.helixframework.resttemplate.requestid.RequestIdInterceptor
-
Name of the variable in the request context and MDC that holds the current request id.
- REQUEST_ID_HEADER_NAME - Static variable in class com.helixframework.resttemplate.requestid.RequestIdInterceptor
-
Name of the request id header.
- RequestIdInterceptor - Class in com.helixframework.resttemplate.requestid
-
RestTemplate interceptor that sets the upstream request id, found in the Helix context, onto downstream calls automatically.
- RequestIdInterceptor() - Constructor for class com.helixframework.resttemplate.requestid.RequestIdInterceptor
S
- spanId() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogIdProvider
- spanId() - Method in interface com.helixframework.resttemplate.tracing.IdProvider
-
Creates a span id.
- spanId() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider
T
- traceHeaderProvider(TraceHeaderProvider) - Method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor.Builder
-
Sets the
TraceHeaderProviderused by the interceptor. - TraceHeaderProvider - Interface in com.helixframework.resttemplate.tracing
-
Provides trace and span id http header names.
- traceId() - Method in class com.helixframework.resttemplate.tracing.datadog.DatadogIdProvider
- traceId() - Method in interface com.helixframework.resttemplate.tracing.IdProvider
-
Creates a trace id.
- traceId() - Method in class com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider
- traceProvider(TraceProvider) - Method in class com.helixframework.resttemplate.tracing.DistributedTracingInterceptor.Builder
-
Sets the
TraceProviderused by the interceptor. - TraceProvider - Interface in com.helixframework.resttemplate.tracing
-
Provides trace and span identifiers.
Z
- ZipkinIdProvider - Class in com.helixframework.resttemplate.tracing.zipkin
-
Generates trace and span identifiers that are Zipkin compliant.
- ZipkinIdProvider() - Constructor for class com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider
- ZipkinIdProvider.ZipkinHexHelpers - Class in com.helixframework.resttemplate.tracing.zipkin
-
The code in this class came from the Zipkin repository v1.16.2 (https://github.com/openzipkin/zipkin/blob/1.16.2/zipkin/src/main/java/zipkin/internal/Util.java) and licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).
- ZipkinTraceHeaderProvider - Class in com.helixframework.resttemplate.tracing.zipkin
-
Provider that returns the names of the HTTP headers used by Zipkin for distributed tracing.
- ZipkinTraceHeaderProvider() - Constructor for class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceHeaderProvider
- ZipkinTraceProvider - Class in com.helixframework.resttemplate.tracing.zipkin
- ZipkinTraceProvider() - Constructor for class com.helixframework.resttemplate.tracing.zipkin.ZipkinTraceProvider
All Classes and Interfaces|All Packages|Constant Field Values