Interface WebClientProxyBuilder

  • All Known Implementing Classes:
    WebClientProxyBuilder.Default

    @Validated
    public interface WebClientProxyBuilder
    The web client proxy builder.
    Author:
    Christian Bremer
    • 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
      • 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