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