Class ReactiveHttpRequestValues
java.lang.Object
org.springframework.web.service.invoker.HttpRequestValues
org.springframework.web.service.invoker.ReactiveHttpRequestValues
HttpRequestValues
extension for use with ReactorHttpExchangeAdapter
.- Since:
- 6.1
- Author:
- Rossen Stoyanchev, Olga Maciaszek-Sharma
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Publisher<?>
getBody()
Return the request body as aPublisher
.Return the element type for a body publisher.Publisher<?>
Return aPublisher
that will produce the request body.Return the element type for a body publisher.Methods inherited from class org.springframework.web.service.invoker.HttpRequestValues
getAttributes, getBodyValue, getCookies, getHeaders, getHttpMethod, getUri, getUriBuilderFactory, getUriTemplate, getUriVariables
-
Method Details
-
getBodyPublisher
Return aPublisher
that will produce the request body.This is mutually exclusive with
HttpRequestValues.getBodyValue()
. Only one of the two or neither is set. -
getBodyPublisherElementType
Return the element type for a body publisher. -
getBody
Return the request body as aPublisher
.This is mutually exclusive with
HttpRequestValues.getBodyValue()
. Only one of the two or neither is set.- Overrides:
getBody
in classHttpRequestValues
-
getBodyElementType
Return the element type for a body publisher.- Overrides:
getBodyElementType
in classHttpRequestValues
-
builder
-