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