Interface WebClientProxyBuilder
-
- All Known Implementing Classes:
WebClientProxyBuilder.Default
@Validated public interface WebClientProxyBuilder
The web client proxy builder.- Author:
- Christian Bremer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WebClientProxyBuilder.Default
The default web client proxy builder.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
build(@NotNull Class<T> target)
Build the proxy.WebClientProxyBuilder
commonFunctions(InvocationFunctions functions)
Sets common functions.static WebClientProxyBuilder
defaultBuilder()
Default web client proxy builder.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
WebClientProxyBuilder webClient(org.springframework.web.reactive.function.client.WebClient webClient)
Sets web client.- Parameters:
webClient
- the web client- Returns:
- the web client proxy builder
-
commonFunctions
WebClientProxyBuilder commonFunctions(InvocationFunctions functions)
Sets common functions.- Parameters:
functions
- the functions- Returns:
- the web client proxy builder
-
methodFunctions
WebClientProxyBuilder methodFunctions(Method method, InvocationFunctions functions)
Sets method functions.- Parameters:
method
- the methodfunctions
- the functions- Returns:
- the web client proxy builder
-
build
<T> T build(@NotNull @NotNull Class<T> target)
Build the proxy.- Type Parameters:
T
- the type of the target- Parameters:
target
- the target- Returns:
- the proxy
-
defaultBuilder
static WebClientProxyBuilder defaultBuilder()
Default web client proxy builder.- Returns:
- the web client proxy builder
-
-