Interface WebClientProxyBuilder
-
- All Known Implementing Classes:
WebClientProxyBuilder.Default
@Validated public interface WebClientProxyBuilderThe web client proxy builder.- Author:
- Christian Bremer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWebClientProxyBuilder.DefaultThe default web client proxy builder.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tbuild(@NotNull Class<T> target)Build the proxy.WebClientProxyBuildercommonFunctions(InvocationFunctions functions)Sets common functions.static WebClientProxyBuilderdefaultBuilder()Default web client proxy builder.WebClientProxyBuildermethodFunctions(Method method, InvocationFunctions functions)Sets method functions.WebClientProxyBuilderwebClient(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
-
-