Package org.sdase.commons.client.jersey
Interface JerseyClientBundle.FinalBuilder<C extends io.dropwizard.core.Configuration>
- All Known Subinterfaces:
JerseyClientBundle.InitialBuilder<C>
- All Known Implementing Classes:
JerseyClientBundle.Builder
- Enclosing class:
- JerseyClientBundle<C extends io.dropwizard.core.Configuration>
public static interface JerseyClientBundle.FinalBuilder<C extends io.dropwizard.core.Configuration>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withOpenTelemetry
(io.opentelemetry.api.OpenTelemetry openTelemetry) Specifies a custom telemetry instance to use.
-
Method Details
-
withOpenTelemetry
JerseyClientBundle.FinalBuilder<C> withOpenTelemetry(io.opentelemetry.api.OpenTelemetry openTelemetry) Specifies a custom telemetry instance to use. If no instance is specified, theGlobalOpenTelemetry
is used.- Parameters:
openTelemetry
- The telemetry instance to use- Returns:
- the same builder
-
build
JerseyClientBundle<C> build()
-