U
- the type of address before resolution (unresolved address)R
- the type of address after resolution (resolved address)@FunctionalInterface
public interface PartitionHttpClientBuilderConfigurator<U,R>
PartitionedHttpClientBuilder
have different
builder configuration, this configurator helps to configure them differently.
Modifier and Type | Method and Description |
---|---|
default PartitionHttpClientBuilderConfigurator<U,R> |
append(PartitionHttpClientBuilderConfigurator<U,R> toAppend)
Appends the passed
PartitionHttpClientBuilderConfigurator to this
PartitionHttpClientBuilderConfigurator such that this PartitionHttpClientBuilderConfigurator is
applied first and then the passed PartitionHttpClientBuilderConfigurator . |
void |
configureForPartition(PartitionAttributes attr,
SingleAddressHttpClientBuilder<U,R> builder)
Configures the passed
SingleAddressHttpClientBuilder for a given set of PartitionAttributes . |
void configureForPartition(PartitionAttributes attr, SingleAddressHttpClientBuilder<U,R> builder)
SingleAddressHttpClientBuilder
for a given set of PartitionAttributes
.attr
- the PartitionAttributes
for the partitionbuilder
- SingleAddressHttpClientBuilder
to configure for the given PartitionAttributes
default PartitionHttpClientBuilderConfigurator<U,R> append(PartitionHttpClientBuilderConfigurator<U,R> toAppend)
PartitionHttpClientBuilderConfigurator
to this
PartitionHttpClientBuilderConfigurator
such that this PartitionHttpClientBuilderConfigurator
is
applied first and then the passed PartitionHttpClientBuilderConfigurator
.toAppend
- PartitionHttpClientBuilderConfigurator
to appendPartitionHttpClientBuilderConfigurator
after the append operation.