接口的使用
org.springframework.web.reactive.function.client.WebClient.RequestBodySpec
使用WebClient.RequestBodySpec的程序包 程序包 说明 org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.org.springframework.web.reactive.function.client中WebClient.RequestBodySpec的使用
org.springframework.web.reactive.function.client中WebClient.RequestBodySpec的子接口 修饰符和类型 接口 说明 static interface
WebClient.RequestBodyUriSpec
Contract for specifying request headers, body and URI for a request.返回WebClient.RequestBodySpec的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 WebClient.RequestBodySpec
WebClient.RequestBodySpec. contentLength(long contentLength)
Set the length of the body in bytes, as specified by theContent-Length
header.WebClient.RequestBodySpec
WebClient.RequestBodySpec. contentType(MediaType contentType)
Set the media type of the body, as specified by theContent-Type
header.