类 DefaultWebTestClient.DefaultBodySpec<B,S extends WebTestClient.BodySpec<B,S>>
java.lang.Object
cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec<B,S>
- 所有已实现的接口:
WebTestClient.BodySpec<B,S>
- 封闭类:
- DefaultWebTestClient
private static class DefaultWebTestClient.DefaultBodySpec<B,S extends WebTestClient.BodySpec<B,S>>
extends Object
implements WebTestClient.BodySpec<B,S>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T extends S>
TconsumeWith(Consumer<EntityExchangeResult<B>> consumer) Assert the exchange result with the givenConsumer.protected EntityExchangeResult<B><T extends S>
TAssert the extracted body is equal to the given value.Exit the chained API and return anExchangeResultwith the decoded response content.private <T extends S>
Tself()<T extends S>
TAssert the extracted body with aConsumer.<T extends S,R>
TTransform the extracted the body with a function, e.g. extracting a property, and assert the mapped value with aMatcher.<T extends S>
TAssert the extracted body with aMatcher.
-
字段详细资料
-
result
-
-
构造器详细资料
-
DefaultBodySpec
DefaultBodySpec(EntityExchangeResult<B> result)
-
-
方法详细资料
-
getResult
-
isEqualTo
从接口复制的说明:WebTestClient.BodySpecAssert the extracted body is equal to the given value.- 指定者:
isEqualTo在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-
value
从接口复制的说明:WebTestClient.BodySpecAssert the extracted body with aMatcher.- 指定者:
value在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-
value
从接口复制的说明:WebTestClient.BodySpecTransform the extracted the body with a function, e.g. extracting a property, and assert the mapped value with aMatcher.- 指定者:
value在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-
value
从接口复制的说明:WebTestClient.BodySpecAssert the extracted body with aConsumer.- 指定者:
value在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-
consumeWith
从接口复制的说明:WebTestClient.BodySpecAssert the exchange result with the givenConsumer.- 指定者:
consumeWith在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-
self
-
returnResult
从接口复制的说明:WebTestClient.BodySpecExit the chained API and return anExchangeResultwith the decoded response content.- 指定者:
returnResult在接口中WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>>
-