Package io.servicetalk.http.api
Interface PartitionHttpClientBuilderConfigurator<U,R>
- Type Parameters:
U- the type of address before resolution (unresolved address)R- the type of address after resolution (resolved address)
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
If different clients used by a partitioned client created by a
PartitionedHttpClientBuilder have different
builder configuration, this configurator helps to configure them differently.-
Method Summary
Modifier and TypeMethodDescriptiondefault PartitionHttpClientBuilderConfigurator<U,R> append(PartitionHttpClientBuilderConfigurator<U, R> toAppend) Deprecated.Appends the passedPartitionHttpClientBuilderConfiguratorto thisPartitionHttpClientBuilderConfiguratorsuch that thisPartitionHttpClientBuilderConfiguratoris applied first and then the passedPartitionHttpClientBuilderConfigurator.voidconfigureForPartition(PartitionAttributes attr, SingleAddressHttpClientBuilder<U, R> builder) Deprecated.Configures the passedSingleAddressHttpClientBuilderfor a given set ofPartitionAttributes.
-
Method Details
-
configureForPartition
Deprecated.Configures the passedSingleAddressHttpClientBuilderfor a given set ofPartitionAttributes.- Parameters:
attr- thePartitionAttributesfor the partitionbuilder-SingleAddressHttpClientBuilderto configure for the givenPartitionAttributes
-
append
default PartitionHttpClientBuilderConfigurator<U,R> append(PartitionHttpClientBuilderConfigurator<U, R> toAppend) Deprecated.Appends the passedPartitionHttpClientBuilderConfiguratorto thisPartitionHttpClientBuilderConfiguratorsuch that thisPartitionHttpClientBuilderConfiguratoris applied first and then the passedPartitionHttpClientBuilderConfigurator.- Parameters:
toAppend-PartitionHttpClientBuilderConfiguratorto append- Returns:
- A composite
PartitionHttpClientBuilderConfiguratorafter the append operation.
-
PartitionedHttpClientBuilder.SingleAddressInitializer.