HttpRequestValues extension for use with ReactorHttpExchangeAdapter.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Publisher | |
| private final ParameterizedTypeReference |
| Access | Constructor and Description |
|---|---|
| private | ReactiveHttpRequestValues(HttpMethod httpMethod, URI uri, UriBuilderFactory uriBuilderFactory, String uriTemplate, Map<String, String> uriVars, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue, Publisher<?> body, ParameterizedTypeReference<?> elementType)
|
| Modifier and Type | Method and Description |
|---|---|
| public static ReactiveHttpRequestValues. | |
| public Publisher | getBody()
Overrides org. Return the request body as a Publisher. |
| public ParameterizedTypeReference | getBodyElementType()
Overrides org. Return the element type for a Publisher body. |
| public Publisher | |
| public ParameterizedTypeReference |
| body | back to summary |
|---|---|
| private final Publisher<?> body
| |
| bodyElementType | back to summary |
|---|---|
| private final ParameterizedTypeReference<?> bodyElementType
| |
| ReactiveHttpRequestValues | back to summary |
|---|---|
| private ReactiveHttpRequestValues(HttpMethod httpMethod, URI uri, UriBuilderFactory uriBuilderFactory, String uriTemplate, Map<String, String> uriVars, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue, Publisher<?> body, ParameterizedTypeReference<?> elementType) | |
| builder | back to summary |
|---|---|
| public static ReactiveHttpRequestValues. Hides org. | |
| getBody | back to summary |
|---|---|
| public Publisher Overrides org. Return the request body as a Publisher. This is mutually exclusive with
| |
| getBodyElementType | back to summary |
|---|---|
| public ParameterizedTypeReference Overrides org. Return the element type for a Publisher body.
| |
| getBodyPublisher | back to summary |
|---|---|
| public Publisher Return a This is mutually exclusive with
| |
| getBodyPublisherElementType | back to summary |
|---|---|
| public ParameterizedTypeReference Return the element type for a Publisher body.
| |
ReactiveHttpRequestValues.
| Modifier and Type | Field and Description |
|---|---|
| private Publisher | |
| private ParameterizedTypeReference | |
| private MultipartBodyBuilder |
| Access | Constructor and Description |
|---|---|
| public |
| body | back to summary |
|---|---|
| private Publisher<?> body
| |
| bodyElementType | back to summary |
|---|---|
| private ParameterizedTypeReference<?> bodyElementType
| |
| multipartBuilder | back to summary |
|---|---|
| private MultipartBodyBuilder multipartBuilder
| |
| Builder | back to summary |
|---|---|
| public Builder() | |
| addAttribute | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Configure an attribute to associate with the request. | |
| addCookie | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Add the given cookie name and values.
| |
| addHeader | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Add the given header name and values.
| |
| addRequestParameter | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Add the given request parameter name and values. When
| |
| addRequestPart | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Add a part to a multipart request. The part value may be as described
in
| |
| addRequestPart | back to summary |
|---|---|
| public <T, P extends Publisher Overrides org. Doc from org. Variant of
| |
| addRequestPartPublisher | back to summary |
|---|---|
| public <T, P extends Publisher Variant of | |
| build | back to summary |
|---|---|
| public ReactiveHttpRequestValues build() Overrides org. Doc from org. Build the
| |
| buildMultipartBody | back to summary |
|---|---|
| protected Object buildMultipartBody() Overrides org.
| |
| createRequestValues | back to summary |
|---|---|
| protected ReactiveHttpRequestValues createRequestValues(HttpMethod httpMethod, URI uri, UriBuilderFactory uriBuilderFactory, String uriTemplate, Map<String, String> uriVars, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue) Overrides org. Doc from org. Create
| |
| hasBody | back to summary |
|---|---|
| protected boolean hasBody() Overrides org.
| |
| hasParts | back to summary |
|---|---|
| protected boolean hasParts() Overrides org.
| |
| setAccept | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the media types for the request
| |
| setBody | back to summary |
|---|---|
| public <T, P extends Publisher Overrides org. Doc from org. Set the request body as a Reactive Streams Publisher. This is mutually exclusive with, and resets any previously set body value.
| |
| setBodyPublisher | back to summary |
|---|---|
| public <T, P extends Publisher Set the request body as a Reactive Streams Publisher. This is mutually exclusive with, and resets any previously set body value.
| |
| setBodyValue | back to summary |
|---|---|
| public void setBodyValue(Object bodyValue) Overrides org. Doc from org. Set the request body as an Object to be serialized. This is mutually exclusive with, and resets any previously set setBodyPublisher(Publisher, ParameterizedTypeReference).
| |
| setContentType | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the media type for the request
| |
| setHttpMethod | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the HTTP method for the request.
| |
| setUri | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the URL to use. When set, this overrides the
URI template from the
| |
| setUriBuilderFactory | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the
| |
| setUriTemplate | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Set the request URL as a String template.
| |
| setUriVariable | back to summary |
|---|---|
| public ReactiveHttpRequestValues. Overrides org. Doc from org. Add a URI variable name-value pair.
| |