Class RestClientHttpServiceGroupAdapter
java.lang.Object
org.springframework.web.client.support.RestClientHttpServiceGroupAdapter
- All Implemented Interfaces:
HttpServiceGroupAdapter<RestClient.Builder>
public class RestClientHttpServiceGroupAdapter
extends Object
implements HttpServiceGroupAdapter<RestClient.Builder>
Adapter for groups backed by
RestClient.- Since:
- 7.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a client builder instance.createExchangeAdapter(RestClient.Builder clientBuilder) Use the client builder to create anHttpExchangeAdapterto use to initialize theHttpServiceProxyFactoryfor the group.Class<? extends HttpServiceGroupConfigurer<RestClient.Builder>> Return the type of configurer that is compatible with this group.
-
Constructor Details
-
RestClientHttpServiceGroupAdapter
public RestClientHttpServiceGroupAdapter()
-
-
Method Details
-
createClientBuilder
Description copied from interface:HttpServiceGroupAdapterCreate a client builder instance.- Specified by:
createClientBuilderin interfaceHttpServiceGroupAdapter<RestClient.Builder>
-
getConfigurerType
Description copied from interface:HttpServiceGroupAdapterReturn the type of configurer that is compatible with this group.- Specified by:
getConfigurerTypein interfaceHttpServiceGroupAdapter<RestClient.Builder>
-
createExchangeAdapter
Description copied from interface:HttpServiceGroupAdapterUse the client builder to create anHttpExchangeAdapterto use to initialize theHttpServiceProxyFactoryfor the group.- Specified by:
createExchangeAdapterin interfaceHttpServiceGroupAdapter<RestClient.Builder>
-