Uses of Interface
org.springframework.web.reactive.function.client.WebClient.RequestBodySpec
Package
Description
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.-
Uses of WebClient.RequestBodySpec in org.springframework.web.reactive.function.client
Modifier and TypeInterfaceDescriptionstatic interface
Contract for specifying request headers, body and URI for a request.Modifier and TypeMethodDescriptionWebClient.RequestBodySpec.contentLength
(long contentLength) Set the length of the body in bytes, as specified by theContent-Length
header.WebClient.RequestBodySpec.contentType
(MediaType contentType) Set the media type of the body, as specified by theContent-Type
header.