类 DefaultWebTestClient.DefaultListBodySpec<E>
java.lang.Object
cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec<List<E>,WebTestClient.ListBodySpec<E>>
cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec<E>
- 所有已实现的接口:
WebTestClient.BodySpec<List<E>,,WebTestClient.ListBodySpec<E>> WebTestClient.ListBodySpec<E>
- 封闭类:
- DefaultWebTestClient
private static class DefaultWebTestClient.DefaultListBodySpec<E>
extends DefaultWebTestClient.DefaultBodySpec<List<E>,WebTestClient.ListBodySpec<E>>
implements WebTestClient.ListBodySpec<E>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Assert the extracted list of values contains the given elements.doesNotContain(E... elements) Assert the extracted list of values doesn't contain the given elements.hasSize(int size) Assert the extracted list of values is of the given size.Exit the chained API and return anExchangeResultwith the decoded response content.从类继承的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
consumeWith, getResult, isEqualTo, value, value, value从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
consumeWith, isEqualTo, value, value, value
-
构造器详细资料
-
DefaultListBodySpec
DefaultListBodySpec(EntityExchangeResult<List<E>> result)
-
-
方法详细资料
-
hasSize
从接口复制的说明:WebTestClient.ListBodySpecAssert the extracted list of values is of the given size.- 指定者:
hasSize在接口中WebTestClient.ListBodySpec<E>- 参数:
size- the expected size
-
contains
从接口复制的说明:WebTestClient.ListBodySpecAssert the extracted list of values contains the given elements.- 指定者:
contains在接口中WebTestClient.ListBodySpec<E>- 参数:
elements- the elements to check
-
doesNotContain
从接口复制的说明:WebTestClient.ListBodySpecAssert the extracted list of values doesn't contain the given elements.- 指定者:
doesNotContain在接口中WebTestClient.ListBodySpec<E>- 参数:
elements- the elements to check
-
returnResult
从接口复制的说明:WebTestClient.BodySpecExit the chained API and return anExchangeResultwith the decoded response content.
-