Class WebClientProxyBuilder.Default
- java.lang.Object
-
- org.bremersee.web.reactive.function.client.proxy.WebClientProxyBuilder.Default
-
- All Implemented Interfaces:
WebClientProxyBuilder
- Enclosing interface:
- WebClientProxyBuilder
public static class WebClientProxyBuilder.Default extends Object implements WebClientProxyBuilder
The default web client proxy builder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bremersee.web.reactive.function.client.proxy.WebClientProxyBuilder
WebClientProxyBuilder.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
build(Class<T> target)
Build the proxy.WebClientProxyBuilder
commonFunctions(InvocationFunctions functions)
Sets common functions.WebClientProxyBuilder
methodFunctions(Method method, InvocationFunctions functions)
Sets method functions.WebClientProxyBuilder
webClient(org.springframework.web.reactive.function.client.WebClient webClient)
Sets web client.
-
-
-
Method Detail
-
webClient
public WebClientProxyBuilder webClient(org.springframework.web.reactive.function.client.WebClient webClient)
Description copied from interface:WebClientProxyBuilder
Sets web client.- Specified by:
webClient
in interfaceWebClientProxyBuilder
- Parameters:
webClient
- the web client- Returns:
- the web client proxy builder
-
methodFunctions
public WebClientProxyBuilder methodFunctions(Method method, InvocationFunctions functions)
Description copied from interface:WebClientProxyBuilder
Sets method functions.- Specified by:
methodFunctions
in interfaceWebClientProxyBuilder
- Parameters:
method
- the methodfunctions
- the functions- Returns:
- the web client proxy builder
-
commonFunctions
public WebClientProxyBuilder commonFunctions(InvocationFunctions functions)
Description copied from interface:WebClientProxyBuilder
Sets common functions.- Specified by:
commonFunctions
in interfaceWebClientProxyBuilder
- Parameters:
functions
- the functions- Returns:
- the web client proxy builder
-
build
public <T> T build(Class<T> target)
Description copied from interface:WebClientProxyBuilder
Build the proxy.- Specified by:
build
in interfaceWebClientProxyBuilder
- Type Parameters:
T
- the type of the target- Parameters:
target
- the target- Returns:
- the proxy
-
-