インターフェースの使用
org.springframework.web.reactive.function.client.WebClient.RequestBodySpec
WebClient.RequestBodySpec を使用するパッケージ
org.springframework.web.reactive.function.client 内の WebClient.RequestBodySpec 使用
修飾子と型メソッド説明WebClient.RequestBodySpec.contentLength
(long contentLength) Content-Length
ヘッダーで指定されているように、本文の長さをバイト単位で設定します。WebClient.RequestBodySpec.contentType
(MediaType contentType) Content-Type
ヘッダーで指定されているように、本文のメディア型を設定します。