Uses of Interface
org.springframework.web.reactive.function.client.WebClient.Builder
Packages that use WebClient.Builder
Package
Description
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client package.-
Uses of WebClient.Builder in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return WebClient.BuilderModifier and TypeMethodDescriptionWebClient.Builder.apiVersionInserter(ApiVersionInserter apiVersionInserter) Configure anApiVersionInserterto abstract how an API version specified viaWebClient.RequestHeadersSpec.apiVersion(Object)is inserted into the request.WebClient.Builder.apply(Consumer<WebClient.Builder> builderConsumer) Apply the givenConsumerto this builder instance.Configure a base URL for requests.static WebClient.BuilderWebClient.builder()Obtain aWebClientbuilder.WebClient.Builder.clientConnector(ClientHttpConnector connector) Configure theClientHttpConnectorto use.WebClient.Builder.clone()Clone thisWebClient.Builder.WebClient.Builder.codecs(Consumer<ClientCodecConfigurer> configurer) WebClient.Builder.defaultApiVersion(Object version) Global option to specify an API version to add to every request, if not already set.WebClient.Builder.defaultCookie(String cookie, String... values) Global option to specify a cookie to be added to every request, if the request does not already contain such a cookie.WebClient.Builder.defaultCookies(Consumer<MultiValueMap<String, String>> cookiesConsumer) Provides access to everydefaultCookie(String, String...)declared so far with the possibility to add, replace, or remove.WebClient.Builder.defaultHeader(String header, String... values) Global option to specify a header to be added to every request, if the request does not already contain such a header.WebClient.Builder.defaultHeaders(Consumer<HttpHeaders> headersConsumer) Provides access to everydefaultHeader(String, String...)declared so far with the possibility to add, replace, or remove.WebClient.Builder.defaultRequest(Consumer<WebClient.RequestHeadersSpec<?>> defaultRequest) Provide a consumer to customize every request being built.WebClient.Builder.defaultStatusHandler(Predicate<HttpStatusCode> statusPredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) Register a defaultstatus handlerto apply to every response.WebClient.Builder.defaultUriVariables(Map<String, ?> defaultUriVariables) Configure default URL variable values to use when expanding URI templates with aMap.WebClient.Builder.exchangeFunction(ExchangeFunction exchangeFunction) WebClient.Builder.exchangeStrategies(ExchangeStrategies strategies) Configure theExchangeStrategiesto use.WebClient.Builder.filter(ExchangeFilterFunction filter) Add the given filter to the end of the filter chain.WebClient.Builder.filters(Consumer<List<ExchangeFilterFunction>> filtersConsumer) Manipulate the filters with the given consumer.WebClient.mutate()Return a builder to create a newWebClientwhose settings are replicated from the currentWebClient.WebClient.Builder.observationConvention(ClientRequestObservationConvention observationConvention) Provide anObservationConventionto use for collecting metadata for the request observation.WebClient.Builder.observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Provide anObservationRegistryto use for recording observations for HTTP client calls.WebClient.Builder.uriBuilderFactory(UriBuilderFactory uriBuilderFactory) Provide a pre-configuredUriBuilderFactoryinstance.Method parameters in org.springframework.web.reactive.function.client with type arguments of type WebClient.BuilderModifier and TypeMethodDescriptionWebClient.Builder.apply(Consumer<WebClient.Builder> builderConsumer) Apply the givenConsumerto this builder instance. -
Uses of WebClient.Builder in org.springframework.web.reactive.function.client.support
Subinterfaces with type arguments of type WebClient.Builder in org.springframework.web.reactive.function.client.supportModifier and TypeInterfaceDescriptioninterfaceExtension ofHttpServiceGroupConfigurerto configure groups with aWebClient.Classes in org.springframework.web.reactive.function.client.support that implement interfaces with type arguments of type WebClient.BuilderMethods in org.springframework.web.reactive.function.client.support that return WebClient.BuilderMethods in org.springframework.web.reactive.function.client.support that return types with arguments of type WebClient.BuilderModifier and TypeMethodDescriptionClass<? extends HttpServiceGroupConfigurer<WebClient.Builder>> WebClientHttpServiceGroupAdapter.getConfigurerType()Methods in org.springframework.web.reactive.function.client.support with parameters of type WebClient.BuilderModifier and TypeMethodDescriptionWebClientHttpServiceGroupAdapter.createExchangeAdapter(WebClient.Builder clientBuilder)