Interface HttpServiceGroupAdapter<CB>
- Type Parameters:
CB
- the type of client builder, i.e.RestClient
orWebClient
builder.
- All Known Implementing Classes:
RestClientHttpServiceGroupAdapter
,WebClientHttpServiceGroupAdapter
public interface HttpServiceGroupAdapter<CB>
Adapter that helps to configure a group independent of its client builder type.
- Since:
- 7.0
- Author:
- Rossen Stoyanchev, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionCreate a client builder instance.createExchangeAdapter
(CB clientBuilder) Use the client builder to create anHttpExchangeAdapter
to use to initialize theHttpServiceProxyFactory
for the group.Class<? extends HttpServiceGroupConfigurer<CB>>
Return the type of configurer that is compatible with this group.
-
Method Details
-
createClientBuilder
CB createClientBuilder()Create a client builder instance. -
getConfigurerType
Class<? extends HttpServiceGroupConfigurer<CB>> getConfigurerType()Return the type of configurer that is compatible with this group. -
createExchangeAdapter
Use the client builder to create anHttpExchangeAdapter
to use to initialize theHttpServiceProxyFactory
for the group.
-