类 WebClientUtils
java.lang.Object
cn.taketoday.web.reactive.function.client.WebClientUtils
Internal methods shared between
DefaultWebClient and
DefaultClientResponse.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Harry Yang
-
字段概要
字段修饰符和类型字段说明Predicate that returns true if an exception should be wrapped. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> reactor.core.publisher.Mono<ResponseEntity<T>>mapToEntity(ClientResponse response, reactor.core.publisher.Mono<T> bodyMono) Map the given response to a single valueResponseEntity<T>.static <T> reactor.core.publisher.Mono<ResponseEntity<List<T>>>mapToEntityList(ClientResponse response, org.reactivestreams.Publisher<T> body) Map the given response to aResponseEntity<List<T>>.
-
字段详细资料
-
WRAP_EXCEPTION_PREDICATE
Predicate that returns true if an exception should be wrapped.
-
-
构造器详细资料
-
WebClientUtils
WebClientUtils()
-
-
方法详细资料
-
mapToEntity
public static <T> reactor.core.publisher.Mono<ResponseEntity<T>> mapToEntity(ClientResponse response, reactor.core.publisher.Mono<T> bodyMono) Map the given response to a single valueResponseEntity<T>. -
mapToEntityList
public static <T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> mapToEntityList(ClientResponse response, org.reactivestreams.Publisher<T> body) Map the given response to aResponseEntity<List<T>>.
-