接口的使用
cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
使用WebTestClient.BodySpec的程序包
-
cn.taketoday.test.web.reactive.server中WebTestClient.BodySpec的使用
修饰符和类型类说明private static classDefaultWebTestClient.DefaultBodySpec<B,S extends WebTestClient.BodySpec<B, S>> static interfaceWebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B, S>> Spec for expectations on the response body decoded to a single Object.修饰符和类型接口说明static interfaceSpec for expectations on the response body decoded to a List.修饰符和类型类说明private static classDefaultWebTestClient.DefaultBodySpec<B,S extends WebTestClient.BodySpec<B, S>> private static class修饰符和类型方法说明<B> WebTestClient.BodySpec<B,?> DefaultWebTestClient.DefaultResponseSpec.expectBody(cn.taketoday.core.ParameterizedTypeReference<B> bodyType) <B> WebTestClient.BodySpec<B,?> DefaultWebTestClient.DefaultResponseSpec.expectBody(Class<B> bodyType) <B> WebTestClient.BodySpec<B,?> WebTestClient.ResponseSpec.expectBody(cn.taketoday.core.ParameterizedTypeReference<B> bodyType) Alternative toWebTestClient.ResponseSpec.expectBody(Class)that accepts information about a target type with generics.<B> WebTestClient.BodySpec<B,?> WebTestClient.ResponseSpec.expectBody(Class<B> bodyType) Consume and decode the response body to a single object of type<B>and then apply assertions.