Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Request, Duration) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementLoggingAction
- action(BiConsumer<Request, Duration>) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
-
The action to invoke when an SLA is broken.
- AwsCognitoIdpUserPasswordAuthenticationInterceptor - Class in com.helixframework.okhttp.cognito
-
OKHttp interceptor that ensures a valid token from AWS Cognito is set on requests.
- AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder - Class in com.helixframework.okhttp.cognito
-
Builder for creating new instances of
AwsCognitoIdpUserPasswordAuthenticationInterceptor.
B
- BasicAuthCredentialsStore - Interface in com.helixframework.okhttp.basicauth
-
Interface that all basic auth credentials stores must implement.
- BasicAuthInterceptor - Class in com.helixframework.okhttp.basicauth
-
OkHttp interceptor that ensures basic authentication credentials are set on the request.
- BasicAuthInterceptor.Builder - Class in com.helixframework.okhttp.basicauth
-
Builder for creating new instances of
BasicAuthInterceptor. - build() - Method in class com.helixframework.okhttp.basicauth.BasicAuthInterceptor.Builder
-
Creates a new instance of
BasicAuthInterceptor. - build() - Method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder
-
Creates a new instance of
AwsCognitoIdpUserPasswordAuthenticationInterceptor. - build() - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Builds the interceptor.
- build() - Method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor.Builder
-
Creates a new instance of
HelixHttpLoggingInterceptor. - build() - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Builds an instance of
HelixMetadataInterceptor. - build() - Method in class com.helixframework.okhttp.metrics.HelixHttpMetricsInterceptor.Builder
-
Builds an instance of HelixHttpMetricsInterceptor.
- build() - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Creates a new instance of
ClientCredentialsOAuthInterceptor. - build() - Method in class com.helixframework.okhttp.requestid.RequestIdInterceptor.Builder
-
Builds an instance of
RequestIdInterceptor. - build() - Method in class com.helixframework.okhttp.retry.RetryInterceptor.Builder
-
Creates a new instance of
RetryInterceptor. - build() - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
-
Builds an instance of
ServiceLevelAgreementInterceptor. - build() - Method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor.Builder
-
Creates a new instance of
DistributedTracingInterceptor. - builder() - Static method in class com.helixframework.okhttp.basicauth.BasicAuthInterceptor
-
Creates a builder for
BasicAuthInterceptor. - builder() - Static method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor
-
Creates a builder for
DeltaJsonInterceptor. - builder() - Static method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor
-
Gets a builder for
HelixHttpLoggingInterceptor. - builder() - Static method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor
-
Creates a builder for
HelixMetadataInterceptor. - builder() - Static method in class com.helixframework.okhttp.metrics.HelixHttpMetricsInterceptor
-
Returns a new instance of the Builder class for creating instances of HelixHttpMetricsInterceptor.
- builder() - Static method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor
-
Creates a builder for
ClientCredentialsOAuthInterceptor. - builder() - Static method in class com.helixframework.okhttp.requestid.RequestIdInterceptor
-
Creates a builder for
RequestIdInterceptor. - builder() - Static method in class com.helixframework.okhttp.retry.RetryInterceptor
-
Creates a builder for
RetryInterceptor. - builder() - Static method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor
-
Creates a builder for
ServiceLevelAgreementInterceptor. - builder() - Static method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor
-
Gets the builder for
DistributedTracingInterceptor. - builder(AWSCognitoIdentityProvider) - Static method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor
-
Creates a builder for
AwsCognitoIdpUserPasswordAuthenticationInterceptor. - Builder() - Constructor for class com.helixframework.okhttp.basicauth.BasicAuthInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.requestid.RequestIdInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.retry.RetryInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
- Builder() - Constructor for class com.helixframework.okhttp.tracing.DistributedTracingInterceptor.Builder
- Builder(AWSCognitoIdentityProvider) - Constructor for class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder
-
Creates a new instance of
AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder.
C
- cacheKey(Request) - Method in interface com.helixframework.okhttp.delta.DeltaCacheKeyStrategy
-
Computes the cache key for the supplied request.
- cacheKeyStrategy(DeltaCacheKeyStrategy) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Sets the strategy used to derive a cache key from the outbound request.
- CacheServiceDeltaRequestBodyStore - Class in com.helixframework.okhttp.delta
-
DeltaRequestBodyStorebacked by a HelixCacheService. - CacheServiceDeltaRequestBodyStore(CacheService<String, String>) - Constructor for class com.helixframework.okhttp.delta.CacheServiceDeltaRequestBodyStore
-
Creates a new store backed by the supplied cache service.
- ClientCredentialsOAuthInterceptor - Class in com.helixframework.okhttp.oauth
-
OkHttp interceptor that ensures a valid OAuth token is set on downstream requests.
- ClientCredentialsOAuthInterceptor.Builder - Class in com.helixframework.okhttp.oauth
-
Builder for creating new instances of
ClientCredentialsOAuthInterceptor. - com.helixframework.okhttp - package com.helixframework.okhttp
- com.helixframework.okhttp.basicauth - package com.helixframework.okhttp.basicauth
- com.helixframework.okhttp.cognito - package com.helixframework.okhttp.cognito
- com.helixframework.okhttp.delta - package com.helixframework.okhttp.delta
- com.helixframework.okhttp.logging - package com.helixframework.okhttp.logging
- com.helixframework.okhttp.metadata - package com.helixframework.okhttp.metadata
- com.helixframework.okhttp.metrics - package com.helixframework.okhttp.metrics
- com.helixframework.okhttp.oauth - package com.helixframework.okhttp.oauth
- com.helixframework.okhttp.requestid - package com.helixframework.okhttp.requestid
- com.helixframework.okhttp.retry - package com.helixframework.okhttp.retry
- com.helixframework.okhttp.sla - package com.helixframework.okhttp.sla
- com.helixframework.okhttp.tracing - package com.helixframework.okhttp.tracing
- com.helixframework.okhttp.tracing.datadog - package com.helixframework.okhttp.tracing.datadog
- com.helixframework.okhttp.tracing.zipkin - package com.helixframework.okhttp.tracing.zipkin
- credentials(String, String) - Method in class com.helixframework.okhttp.basicauth.BasicAuthInterceptor.Builder
-
Sets the username and password that will be used for authentication.
- credentials(String, String) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Sets the `client_id` and `client_secret` that will be used for authenticating with the authorization server.
- credentials(String, String, String) - Method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder
-
Sets the `clientId`, `username`, and `password` that will be used for authenticating with the IDP.
- credentialsStore(BasicAuthCredentialsStore) - Method in class com.helixframework.okhttp.basicauth.BasicAuthInterceptor.Builder
-
Sets the
BasicAuthCredentialsStoreimplementation that will be used to retrieve the credentials at runtime. - custom(BiPredicate<Request, Duration>) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
-
Adds a custom predicate that determines if the SLA has been broken and the action should be invoked.
D
- DatadogIdProvider - Class in com.helixframework.okhttp.tracing.datadog
-
Generates trace and span identifiers that are Datadog compliant.
- DatadogIdProvider() - Constructor for class com.helixframework.okhttp.tracing.datadog.DatadogIdProvider
- DatadogTraceHeaderProvider - Class in com.helixframework.okhttp.tracing.datadog
-
Provider that returns the names of the HTTP headers used by Datadog for distributed tracing.
- DatadogTraceHeaderProvider() - Constructor for class com.helixframework.okhttp.tracing.datadog.DatadogTraceHeaderProvider
- DatadogTraceProvider - Class in com.helixframework.okhttp.tracing.datadog
-
Trace provider for Datadog.
- DatadogTraceProvider() - Constructor for class com.helixframework.okhttp.tracing.datadog.DatadogTraceProvider
- DefaultBasicAuthCredentialsStore - Class in com.helixframework.okhttp.basicauth
-
Default in-memory
BasicAuthCredentialsStoreimplementation. - DefaultBasicAuthCredentialsStore(String, String) - Constructor for class com.helixframework.okhttp.basicauth.DefaultBasicAuthCredentialsStore
-
Creates a new instance of
DefaultBasicAuthCredentialsStore. - DefaultTokenStore - Class in com.helixframework.okhttp.cognito
-
Default in-memory token store.
- DefaultTokenStore - Class in com.helixframework.okhttp.oauth
-
Default in-memory token store.
- DefaultTokenStore() - Constructor for class com.helixframework.okhttp.cognito.DefaultTokenStore
- DefaultTokenStore() - Constructor for class com.helixframework.okhttp.oauth.DefaultTokenStore
- DeltaCacheKeyStrategy - Interface in com.helixframework.okhttp.delta
-
Strategy for deriving a stable cache key for the previous outbound request body.
- deltaEngine(DeltaEngine) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Sets the delta engine used to compute changed-only JSON.
- deltaHeaderName(String) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Sets the header that marks requests whose body has been replaced with a delta projection.
- DeltaJsonInterceptor - Class in com.helixframework.okhttp.delta
-
OkHttp interceptor that uses helix-delta to send only changed JSON content when a previous outbound request body is available in a request-body store.
- DeltaJsonInterceptor.Builder - Class in com.helixframework.okhttp.delta
-
Builder for creating
DeltaJsonInterceptorinstances. - DeltaRequestBodyStore - Interface in com.helixframework.okhttp.delta
-
Storage abstraction for the most recent request body associated with a cache key.
- disableAuthorizationHeader() - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Disables sending the client credentials in the Authorization header; instead sending them as form url-encoded parameters.
- disableStrictMode() - Method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder
-
Disables strict response code checking from the downstream service.
- disableStrictMode() - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Disables strict response code checking from the downstream service.
- DistributedTracingInterceptor - Class in com.helixframework.okhttp.tracing
-
OkHttp interceptor that adds distributed tracing data to downstream requests.
- DistributedTracingInterceptor.Builder - Class in com.helixframework.okhttp.tracing
-
Builder for creating new instances of
DistributedTracingInterceptor.
E
- excludeMetadata(String) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Excludes a metadata key from being passed downstream in the metadata header.
- excludeMetadata(Collection<String>) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Excludes a collection of metadata keys from being passed downstream in the metadata header.
G
- get(String) - Method in class com.helixframework.okhttp.delta.CacheServiceDeltaRequestBodyStore
- get(String) - Method in interface com.helixframework.okhttp.delta.DeltaRequestBodyStore
-
Loads the previously cached request body.
- get(String) - Method in class com.helixframework.okhttp.delta.InMemoryDeltaRequestBodyStore
- getPassword() - Method in interface com.helixframework.okhttp.basicauth.BasicAuthCredentialsStore
-
Gets the password.
- getPassword() - Method in class com.helixframework.okhttp.basicauth.DefaultBasicAuthCredentialsStore
- getSpanId() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogTraceProvider
- getSpanId() - Method in interface com.helixframework.okhttp.tracing.TraceProvider
-
Gets the span identifier.
- getSpanId() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceProvider
- getSpanIdHeaderName() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogTraceHeaderProvider
- getSpanIdHeaderName() - Method in interface com.helixframework.okhttp.tracing.TraceHeaderProvider
-
Gets the name of the span id http header.
- getSpanIdHeaderName() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceHeaderProvider
- getToken() - Method in class com.helixframework.okhttp.cognito.DefaultTokenStore
- getToken() - Method in interface com.helixframework.okhttp.cognito.TokenStore
-
Get the auth token.
- getToken() - Method in class com.helixframework.okhttp.oauth.DefaultTokenStore
- getToken() - Method in interface com.helixframework.okhttp.oauth.TokenStore
-
Get the auth token.
- getTraceId() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogTraceProvider
- getTraceId() - Method in interface com.helixframework.okhttp.tracing.TraceProvider
-
Gets the trace identifier.
- getTraceId() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceProvider
- getTraceIdHeaderName() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogTraceHeaderProvider
- getTraceIdHeaderName() - Method in interface com.helixframework.okhttp.tracing.TraceHeaderProvider
-
Gets the name of the trace id http header.
- getTraceIdHeaderName() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceHeaderProvider
- getUsername() - Method in interface com.helixframework.okhttp.basicauth.BasicAuthCredentialsStore
-
Gets the username.
- getUsername() - Method in class com.helixframework.okhttp.basicauth.DefaultBasicAuthCredentialsStore
H
- headerName(String) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Sets the name of the metadata header to pass downstream.
- headerName(String) - Method in class com.helixframework.okhttp.requestid.RequestIdInterceptor.Builder
-
Sets the name of the request id header to pass downstream.
- HelixHttpLoggingInterceptor - Class in com.helixframework.okhttp.logging
-
OkHttp interceptor that logs the http request and response in a standardized format.
- HelixHttpLoggingInterceptor.Builder - Class in com.helixframework.okhttp.logging
-
Builder for creating new instances of
HelixHttpLoggingInterceptor. - HelixHttpMetricsInterceptor - Class in com.helixframework.okhttp.metrics
-
Interceptor that collects metrics for HTTP requests made through OkHttp.
- HelixHttpMetricsInterceptor.Builder - Class in com.helixframework.okhttp.metrics
-
Builder class for creating instances of HelixMetricsInterceptor.
- HelixMetadataInterceptor - Class in com.helixframework.okhttp.metadata
-
OkHttp interceptor that sets the `X-Metadata` header on downstream requests with values found in the helix context.
- HelixMetadataInterceptor.Builder - Class in com.helixframework.okhttp.metadata
-
Builds instances of
HelixMetadataInterceptor. - httpClient(OkHttpClient) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Custom http client to use for refreshing the auth token.
I
- idProvider(IdProvider) - Method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor.Builder
-
Sets the
IdProviderused by the interceptor. - IdProvider - Interface in com.helixframework.okhttp.tracing
-
Generates a trace id and span id.
- includeMetadata(String) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Adds a metadata key to include in the downstream metadata header.
- includeMetadata(Collection<String>) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor.Builder
-
Adds a collection of metadata keys to include in the downstream metadata header.
- initialBackoff(long) - Method in class com.helixframework.okhttp.retry.RetryInterceptor.Builder
-
Sets the number of milliseconds to initially wait before executing the first retry.
- InMemoryDeltaRequestBodyStore - Class in com.helixframework.okhttp.delta
-
Default in-memory store for previous request bodies.
- InMemoryDeltaRequestBodyStore() - Constructor for class com.helixframework.okhttp.delta.InMemoryDeltaRequestBodyStore
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.basicauth.BasicAuthInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.metrics.HelixHttpMetricsInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.requestid.RequestIdInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.retry.RetryInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor
- intercept(Interceptor.Chain) - Method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor
L
- logger(Logger) - Method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a custom
Logger. - lowerHexToUnsignedLong(String) - Static method in class com.helixframework.okhttp.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.
M
- maxRetries(int) - Method in class com.helixframework.okhttp.retry.RetryInterceptor.Builder
-
Sets the maximum number of retries to execute before returning a failed response.
- meterRegistries(Set<MeterRegistry>) - Method in class com.helixframework.okhttp.metrics.HelixHttpMetricsInterceptor.Builder
-
Adds the provided MeterRegistry instances to the list of meterRegistries in the Builder.
- meterRegistry(MeterRegistry) - Method in class com.helixframework.okhttp.metrics.HelixHttpMetricsInterceptor.Builder
-
Adds the provided MeterRegistry to the list of meterRegistries in the Builder.
- methods(Set<String>) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Sets the HTTP methods that participate in diff-only body handling.
N
- newDatadogInterceptor() - Static method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor
-
Builds a
DistributedTracingInterceptorinstance pre-configured to work with Datadog. - newDefaultClient() - Static method in class com.helixframework.okhttp.OkHttpClientFactory
-
Creates a default OkHttpClient implementation with a
HelixHttpLoggingInterceptor,RetryInterceptor,HelixMetadataInterceptor,RequestIdInterceptor, andDistributedTracingInterceptorpre-configured. - newDefaultClient(MeterRegistry) - Static method in class com.helixframework.okhttp.OkHttpClientFactory
-
Creates a default OkHttpClient implementation with a
HelixHttpLoggingInterceptor,RetryInterceptor,HelixMetadataInterceptor,RequestIdInterceptor, andDistributedTracingInterceptorpre-configured, as well as metrics wired into Micrometer. - newZipkinTracingInterceptor() - Static method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor
-
Builds a
DistributedTracingInterceptorinstance pre-configured to work with any Zipkin compatible tracing system.
O
- OkHttpClientFactory - Class in com.helixframework.okhttp
-
Factory for creating default OkHttp clients.
P
- path(Map<Pattern, Duration>) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
-
Adds the collection of SLAs that will determine if the action is invoked.
- path(Pattern, Duration) - Method in class com.helixframework.okhttp.sla.ServiceLevelAgreementInterceptor.Builder
-
Adds an SLA for the path that will determine if the action is invoked.
- PathThresholdPredicate - Class in com.helixframework.okhttp.sla
-
Predicate that determines if the supplied request poth matches and the supplied duration surpasses the request SLA threshold.
- PathThresholdPredicate() - Constructor for class com.helixframework.okhttp.sla.PathThresholdPredicate
-
Creates a new instance of
PathThresholdPredicatethat matches all paths and sets an SLA threshold of 5 seconds. - PathThresholdPredicate(Map<Pattern, Duration>) - Constructor for class com.helixframework.okhttp.sla.PathThresholdPredicate
-
Creates a new instance of
PathThresholdPredicatewith the supplied path patterns and SLAs. - put(String, String) - Method in class com.helixframework.okhttp.delta.CacheServiceDeltaRequestBodyStore
- put(String, String) - Method in interface com.helixframework.okhttp.delta.DeltaRequestBodyStore
-
Stores the latest request body for the cache key.
- put(String, String) - Method in class com.helixframework.okhttp.delta.InMemoryDeltaRequestBodyStore
R
- redactHeader(String) - Method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a header to redact from logging.
- redactHeaders(Set<String>) - Method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor.Builder
-
Adds a set of headers to redact from logging.
- REQUEST_ID_CTX_NAME - Static variable in class com.helixframework.okhttp.requestid.RequestIdInterceptor
-
Name of the variable in the request context and MDC that holds the current request id.
- requestBodyStore(DeltaRequestBodyStore) - Method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor.Builder
-
Sets the request body store used to load and update previous request bodies.
- RequestIdInterceptor - Class in com.helixframework.okhttp.requestid
-
OkHttp interceptor that sets the upstream request id, found in the Helix context, onto downstream calls automatically.
- RequestIdInterceptor.Builder - Class in com.helixframework.okhttp.requestid
-
Builds instances of
RequestIdInterceptor. - RetryInterceptor - Class in com.helixframework.okhttp.retry
-
OkHttp interceptor that retries failed requests with exponential backoff and jitter.
- RetryInterceptor.Builder - Class in com.helixframework.okhttp.retry
-
Builder for creating new instances of
RetryInterceptor. - retryOn(Predicate<Response>) - Method in class com.helixframework.okhttp.retry.RetryInterceptor.Builder
-
Predicate that determines if the request should be retried.
S
- scope(String) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Sets the 'scope' to use for the client credentials grant.
- ServiceLevelAgreementInterceptor - Class in com.helixframework.okhttp.sla
-
OkHttp interceptor that executes an action if the SLA has been breached by downstream server.
- ServiceLevelAgreementInterceptor.Builder - Class in com.helixframework.okhttp.sla
-
Builder for creating new instances of
ServiceLevelAgreementInterceptor. - ServiceLevelAgreementLoggingAction - Class in com.helixframework.okhttp.sla
-
Logs exceeded SLAs in the
ServiceLevelAgreementInterceptor. - ServiceLevelAgreementLoggingAction() - Constructor for class com.helixframework.okhttp.sla.ServiceLevelAgreementLoggingAction
- setPassword(String) - Method in interface com.helixframework.okhttp.basicauth.BasicAuthCredentialsStore
-
Sets the password.
- setPassword(String) - Method in class com.helixframework.okhttp.basicauth.DefaultBasicAuthCredentialsStore
- setToken(String) - Method in class com.helixframework.okhttp.cognito.DefaultTokenStore
- setToken(String) - Method in interface com.helixframework.okhttp.cognito.TokenStore
-
Set the auth token.
- setToken(String) - Method in class com.helixframework.okhttp.oauth.DefaultTokenStore
- setToken(String) - Method in interface com.helixframework.okhttp.oauth.TokenStore
-
Set the auth token.
- setUsername(String) - Method in interface com.helixframework.okhttp.basicauth.BasicAuthCredentialsStore
-
Sets the username.
- setUsername(String) - Method in class com.helixframework.okhttp.basicauth.DefaultBasicAuthCredentialsStore
- spanId() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogIdProvider
- spanId() - Method in interface com.helixframework.okhttp.tracing.IdProvider
-
Creates a span id.
- spanId() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinIdProvider
- standard() - Static method in class com.helixframework.okhttp.delta.DeltaJsonInterceptor
-
Creates an instance with the standard in-memory defaults.
- standard() - Static method in class com.helixframework.okhttp.logging.HelixHttpLoggingInterceptor
-
Creates an instance of
HelixHttpLoggingInterceptorwith the standard default configuration. - standard() - Static method in class com.helixframework.okhttp.metadata.HelixMetadataInterceptor
-
Creates an instance of
HelixMetadataInterceptorwith the standard default configuration. - standard() - Static method in class com.helixframework.okhttp.requestid.RequestIdInterceptor
-
Creates an instance of
RequestIdInterceptorwith the standard default configuration. - standard() - Static method in class com.helixframework.okhttp.retry.RetryInterceptor
-
Creates an instance of
RetryInterceptorwith the standard default configuration.
T
- TAG_NORETRY - Static variable in class com.helixframework.okhttp.retry.RetryInterceptor
-
Tag that can be added to a request to prevent the request from being retried in the event of a failure.
- test(Request, Duration) - Method in class com.helixframework.okhttp.sla.PathThresholdPredicate
- tokenEndpoint(String) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Sets the token endpoint url of the authorization server that will issue the access tokens.
- tokenStore(TokenStore) - Method in class com.helixframework.okhttp.cognito.AwsCognitoIdpUserPasswordAuthenticationInterceptor.Builder
-
Sets the token storage mechanism to use.
- tokenStore(TokenStore) - Method in class com.helixframework.okhttp.oauth.ClientCredentialsOAuthInterceptor.Builder
-
Sets the token storage mechanism to use.
- TokenStore - Interface in com.helixframework.okhttp.cognito
-
Interface that all cognito token stores must implement.
- TokenStore - Interface in com.helixframework.okhttp.oauth
-
Interface that all auth token stores must implement.
- traceHeaderProvider(TraceHeaderProvider) - Method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor.Builder
-
Sets the
TraceHeaderProviderused by the interceptor. - TraceHeaderProvider - Interface in com.helixframework.okhttp.tracing
-
Provides trace and span id http header names.
- traceId() - Method in class com.helixframework.okhttp.tracing.datadog.DatadogIdProvider
- traceId() - Method in interface com.helixframework.okhttp.tracing.IdProvider
-
Creates a trace id.
- traceId() - Method in class com.helixframework.okhttp.tracing.zipkin.ZipkinIdProvider
- traceProvider(TraceProvider) - Method in class com.helixframework.okhttp.tracing.DistributedTracingInterceptor.Builder
-
Sets the
TraceProviderused by the interceptor. - TraceProvider - Interface in com.helixframework.okhttp.tracing
-
Provides trace and span identifiers.
Z
- ZipkinIdProvider - Class in com.helixframework.okhttp.tracing.zipkin
-
Generates trace and span identifiers that are Zipkin compliant.
- ZipkinIdProvider() - Constructor for class com.helixframework.okhttp.tracing.zipkin.ZipkinIdProvider
- ZipkinIdProvider.ZipkinHexHelpers - Class in com.helixframework.okhttp.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.okhttp.tracing.zipkin
-
Provider that returns the names of the HTTP headers used by Zipkin for distributed tracing.
- ZipkinTraceHeaderProvider() - Constructor for class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceHeaderProvider
- ZipkinTraceProvider - Class in com.helixframework.okhttp.tracing.zipkin
- ZipkinTraceProvider() - Constructor for class com.helixframework.okhttp.tracing.zipkin.ZipkinTraceProvider
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form