类 ReactiveHttpRequestValues
java.lang.Object
cn.taketoday.web.service.invoker.HttpRequestValues
cn.taketoday.web.service.invoker.ReactiveHttpRequestValues
HttpRequestValues extension for use with ReactorHttpExchangeAdapter.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final org.reactivestreams.Publisher<?>private final cn.taketoday.core.ParameterizedTypeReference<?> -
构造器概要
构造器限定符构造器说明privateReactiveHttpRequestValues(HttpMethod httpMethod, URI uri, String uriTemplate, Map<String, String> uriVariables, HttpHeaders headers, cn.taketoday.util.MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue, org.reactivestreams.Publisher<?> body, cn.taketoday.core.ParameterizedTypeReference<?> elementType) -
方法概要
修饰符和类型方法说明builder()org.reactivestreams.Publisher<?>getBody()Return the request body as a Publisher.cn.taketoday.core.ParameterizedTypeReference<?>Return the element type for a Publisher body.org.reactivestreams.Publisher<?>Return aPublisherthat will produce for the request body.cn.taketoday.core.ParameterizedTypeReference<?>Return the element type for a Publisher body.从类继承的方法 cn.taketoday.web.service.invoker.HttpRequestValues
getAttributes, getBodyValue, getCookies, getHeaders, getHttpMethod, getUri, getUriTemplate, getUriVariables
-
字段详细资料
-
body
@Nullable private final org.reactivestreams.Publisher<?> body -
bodyElementType
@Nullable private final cn.taketoday.core.ParameterizedTypeReference<?> bodyElementType
-
-
构造器详细资料
-
ReactiveHttpRequestValues
private ReactiveHttpRequestValues(@Nullable HttpMethod httpMethod, @Nullable URI uri, @Nullable String uriTemplate, Map<String, String> uriVariables, HttpHeaders headers, cn.taketoday.util.MultiValueMap<String, String> cookies, Map<String, Object> attributes, @Nullable Object bodyValue, @Nullable org.reactivestreams.Publisher<?> body, @Nullable cn.taketoday.core.ParameterizedTypeReference<?> elementType)
-
-
方法详细资料
-
getBodyPublisher
@Nullable public org.reactivestreams.Publisher<?> getBodyPublisher()Return aPublisherthat will produce for the request body.This is mutually exclusive with
HttpRequestValues.getBodyValue(). Only one of the two or neither is set. -
getBodyPublisherElementType
@Nullable public cn.taketoday.core.ParameterizedTypeReference<?> getBodyPublisherElementType()Return the element type for a Publisher body. -
getBody
@Nullable public org.reactivestreams.Publisher<?> getBody()Return the request body as a Publisher.This is mutually exclusive with
HttpRequestValues.getBodyValue(). Only one of the two or neither is set. -
getBodyElementType
@Nullable public cn.taketoday.core.ParameterizedTypeReference<?> getBodyElementType()Return the element type for a Publisher body. -
builder
-