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 @FunctionalInterface public interface PartitionHttpClientBuilderConfigurator<U,R>Deprecated.If different clients used by a partitioned client created by aPartitionedHttpClientBuilderhave different builder configuration, this configurator helps to configure them differently.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default 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 Detail
-
configureForPartition
void configureForPartition(PartitionAttributes attr, SingleAddressHttpClientBuilder<U,R> builder)
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.
-
-