From ec747ab392fc73c6919c3e46b5b9a6fad673bcab Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Tue, 24 Oct 2023 09:59:47 +0200 Subject: [PATCH] docs: Updated docs to reference actually existing classes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f3d5be9df..5bd691824 100644 --- a/README.md +++ b/README.md @@ -438,7 +438,7 @@ The generated report will be available at ```target/site/jacoco/index.html``` ## Configuration options -The `UnleashConfigBuilder` class (created via `UnleashConfig.builder()`) exposes a set of builder methods to configure your Unleash client. The available options are listed below with a description of what they do. For the full signatures, take a look at the [`UnleashConfig` class definition](src/main/java/io/getunleash/util/UnleashConfig.java). +The `UnleashConfig$Builder` class (created via `UnleashConfig.builder()`) exposes a set of builder methods to configure your Unleash client. The available options are listed below with a description of what they do. For the full signatures, take a look at the [`UnleashConfig` class definition](src/main/java/io/getunleash/util/UnleashConfig.java). | Method name | Description | Required | Default value | @@ -466,7 +466,7 @@ The `UnleashConfigBuilder` class (created via `UnleashConfig.builder()`) exposes | `unleashAPI` | The URL of the Unleash API. | Yes | `null` | | `unleashContextProvider` | An [Unleash context provider used to configure Unleash](#2-via-an-unleashcontextprovider). | No | `null` | | `unleashFeatureFetcherFactory` | A factory providing a FeatureFetcher implementation. | No | [`HttpFeatureFetcher::new`](src/main/java/io/getunleash/repository/HttpFeatureFetcher.java) | -| `unleashMetricsSenderFactory` | A factory providing a MetricSender implementation. | No | [`JavaHttpMetricsSender::new`](src/main/java/io/getunleash/metric/JavaHttpMetricsSender.java) | +| `unleashMetricsSenderFactory` | A factory providing a MetricSender implementation. | No | [`DefaultHttpMetricsSender::new`](src/main/java/io/getunleash/metric/DefaultHttpMetricsSender.java) | When you have set all the desired options, initialize the configuration with the `build` method. You can then pass the configuration to the Unleash client constructor.