Interface HttpServiceGroupConfigurer.Groups<CB>
- Type Parameters:
CB
- the type of client builder, i.e.RestClient
orWebClient
builder.
- Enclosing interface:
- HttpServiceGroupConfigurer<CB>
public static interface HttpServiceGroupConfigurer.Groups<CB>
Contract to help iterate and configure the set of groups.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(BiConsumer<HttpServiceGroup, CB> clientConfigurer, BiConsumer<HttpServiceGroup, HttpServiceProxyFactory.Builder> proxyFactoryConfigurer) Configure the client andHttpServiceProxyFactory
for the selected groups.void
configureClient
(BiConsumer<HttpServiceGroup, CB> clientConfigurer) Variant ofconfigureClient(Consumer)
with access to the group being configured.void
configureClient
(Consumer<CB> clientConfigurer) Configure the client for the selected groups.void
configureProxyFactory
(BiConsumer<HttpServiceGroup, HttpServiceProxyFactory.Builder> proxyFactoryConfigurer) Configure theHttpServiceProxyFactory
for the selected groups.filter
(Predicate<HttpServiceGroup> predicate) Select groups to configure through aPredicate
.filterByName
(String... groupNames) Select groups to configure by name.
-
Method Details
-
filterByName
Select groups to configure by name. -
filter
Select groups to configure through aPredicate
. -
configureClient
Configure the client for the selected groups. This is called once for each selected group. -
configureClient
Variant ofconfigureClient(Consumer)
with access to the group being configured. -
configureProxyFactory
void configureProxyFactory(BiConsumer<HttpServiceGroup, HttpServiceProxyFactory.Builder> proxyFactoryConfigurer) Configure theHttpServiceProxyFactory
for the selected groups. This is called once for each selected group. -
configure
void configure(BiConsumer<HttpServiceGroup, CB> clientConfigurer, BiConsumer<HttpServiceGroup, HttpServiceProxyFactory.Builder> proxyFactoryConfigurer) Configure the client andHttpServiceProxyFactory
for the selected groups. This is called once for each selected group.
-