Class WebClientHttpServiceGroupAdapter
java.lang.Object
org.springframework.web.reactive.function.client.support.WebClientHttpServiceGroupAdapter
- All Implemented Interfaces:
org.springframework.web.service.registry.HttpServiceGroupAdapter<WebClient.Builder>
public class WebClientHttpServiceGroupAdapter
extends Object
implements org.springframework.web.service.registry.HttpServiceGroupAdapter<WebClient.Builder>
Adapter for groups backed by
WebClient.- Since:
- 7.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.service.invoker.HttpExchangeAdaptercreateExchangeAdapter(WebClient.Builder clientBuilder) Class<? extends org.springframework.web.service.registry.HttpServiceGroupConfigurer<WebClient.Builder>>
-
Constructor Details
-
WebClientHttpServiceGroupAdapter
public WebClientHttpServiceGroupAdapter()
-
-
Method Details
-
createClientBuilder
- Specified by:
createClientBuilderin interfaceorg.springframework.web.service.registry.HttpServiceGroupAdapter<WebClient.Builder>
-
getConfigurerType
public Class<? extends org.springframework.web.service.registry.HttpServiceGroupConfigurer<WebClient.Builder>> getConfigurerType()- Specified by:
getConfigurerTypein interfaceorg.springframework.web.service.registry.HttpServiceGroupAdapter<WebClient.Builder>
-
createExchangeAdapter
public org.springframework.web.service.invoker.HttpExchangeAdapter createExchangeAdapter(WebClient.Builder clientBuilder) - Specified by:
createExchangeAdapterin interfaceorg.springframework.web.service.registry.HttpServiceGroupAdapter<WebClient.Builder>
-