Class DefaultWorkloadApiClient

java.lang.Object
io.spiffe.workloadapi.DefaultWorkloadApiClient
All Implemented Interfaces:
WorkloadApiClient, Closeable, AutoCloseable

public final class DefaultWorkloadApiClient extends Object implements WorkloadApiClient
Represents a client to interact with the Workload API.

Supports one-shot calls and watch updates for X.509 and JWT SVIDs and bundles.

The watch for updates methods support retries using an exponential backoff policy to reestablish the stream connection to the Workload API.