类 ReactiveHttpRequestValues

java.lang.Object
cn.taketoday.web.service.invoker.HttpRequestValues
cn.taketoday.web.service.invoker.ReactiveHttpRequestValues

public final class ReactiveHttpRequestValues extends HttpRequestValues
从以下版本开始:
4.0
作者:
Rossen Stoyanchev, Harry Yang
  • 字段详细资料

    • 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 a Publisher that 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

      public static ReactiveHttpRequestValues.Builder builder()