Uses of Interface
org.springframework.web.reactive.function.client.WebClient.RequestHeadersSpec
Packages that use WebClient.RequestHeadersSpec Package Description org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.Uses of WebClient.RequestHeadersSpec in org.springframework.web.reactive.function.client
Classes in org.springframework.web.reactive.function.client with type parameters of type WebClient.RequestHeadersSpec Modifier and Type Interface Description static interface
WebClient.RequestHeadersSpec<S extends WebClient.RequestHeadersSpec<S>>
Contract for specifying request headers leading up to the exchange.static interface
WebClient.RequestHeadersUriSpec<S extends WebClient.RequestHeadersSpec<S>>
Contract for specifying request headers and URI for a request.static interface
WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
Contract for specifying the URI for a request.Subinterfaces of WebClient.RequestHeadersSpec in org.springframework.web.reactive.function.client Modifier and Type Interface Description static interface
WebClient.RequestBodySpec
Contract for specifying request headers and body leading up to the exchange.static interface
WebClient.RequestBodyUriSpec
Contract for specifying request headers, body and URI for a request.static interface
WebClient.RequestHeadersUriSpec<S extends WebClient.RequestHeadersSpec<S>>
Contract for specifying request headers and URI for a request.Methods in org.springframework.web.reactive.function.client that return WebClient.RequestHeadersSpec Modifier and Type Method Description WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. body(Object producer, Class<?> elementClass)
Variant ofWebClient.RequestBodySpec.body(Publisher, Class)
that allows using any producer that can be resolved toPublisher
viaReactiveAdapterRegistry
.WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. body(Object producer, ParameterizedTypeReference<?> elementTypeRef)
Variant ofWebClient.RequestBodySpec.body(Publisher, ParameterizedTypeReference)
that allows using any producer that can be resolved toPublisher
viaReactiveAdapterRegistry
.WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. body(BodyInserter<?,? super ClientHttpRequest> inserter)
Set the body of the request using the given body inserter.<T,P extends org.reactivestreams.Publisher<T>>
WebClient.RequestHeadersSpec<?>WebClient.RequestBodySpec. body(P publisher, Class<T> elementClass)
Shortcut forWebClient.RequestBodySpec.body(BodyInserter)
with a Publisher inserter.<T,P extends org.reactivestreams.Publisher<T>>
WebClient.RequestHeadersSpec<?>WebClient.RequestBodySpec. body(P publisher, ParameterizedTypeReference<T> elementTypeRef)
Variant ofWebClient.RequestBodySpec.body(Publisher, Class)
that allows providing element type information with generics.WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. bodyValue(Object body)
Shortcut forWebClient.RequestBodySpec.body(BodyInserter)
with a value inserter.WebClient.RequestHeadersSpec<?>
WebClient.RequestBodySpec. syncBody(Object body)
Deprecated.as of Spring Framework 5.2 in favor ofWebClient.RequestBodySpec.bodyValue(Object)
Method parameters in org.springframework.web.reactive.function.client with type arguments of type WebClient.RequestHeadersSpec Modifier and Type Method Description WebClient.Builder
WebClient.Builder. defaultRequest(Consumer<WebClient.RequestHeadersSpec<?>> defaultRequest)
Provide a consumer to modify every request being built just before the call toexchange()
.