Package org.sdase.commons.client.jersey
Interface JerseyClientBundle.InitialBuilder<C extends io.dropwizard.Configuration>
-
- All Superinterfaces:
JerseyClientBundle.FinalBuilder<C>
- All Known Implementing Classes:
JerseyClientBundle.Builder
- Enclosing class:
- JerseyClientBundle<C extends io.dropwizard.Configuration>
public static interface JerseyClientBundle.InitialBuilder<C extends io.dropwizard.Configuration> extends JerseyClientBundle.FinalBuilder<C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <C1 extends io.dropwizard.Configuration>
JerseyClientBundle.FinalBuilder<C1>withConsumerTokenProvider(JerseyClientBundle.ConsumerTokenProvider<C1> consumerTokenProvider)
-
Methods inherited from interface org.sdase.commons.client.jersey.JerseyClientBundle.FinalBuilder
build, withOpenTelemetry
-
-
-
-
Method Detail
-
withConsumerTokenProvider
<C1 extends io.dropwizard.Configuration> JerseyClientBundle.FinalBuilder<C1> withConsumerTokenProvider(JerseyClientBundle.ConsumerTokenProvider<C1> consumerTokenProvider)
- Type Parameters:
C1
- the type of the applications configuration class- Parameters:
consumerTokenProvider
- A provider for the header value of the Http header "Consumer-Token" that will be send with each client request configured withPlatformClientBuilder.enableConsumerToken()
. If no such provider is configured,PlatformClientBuilder.enableConsumerToken()
will fail.- Returns:
- a builder instance for further configuration
-
-