Class JsonPathAssertions
java.lang.Object
org.springframework.test.web.support.AbstractJsonPathAssertions<WebTestClient.BodyContentSpec>
org.springframework.test.web.reactive.server.JsonPathAssertions
JsonPath assertions.
- Since:
- 5.0
- Author:
- Rossen Stoyanchev, Stephane Nicoll, Rob Worsnop
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.in favor ofConsumer-based variantsvalue(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofConsumer-based variantsMethods inherited from class AbstractJsonPathAssertions
doesNotExist, doesNotHaveJsonPath, equals, exists, getBodySpec, getContent, getPathHelper, hashCode, hasJsonPath, isArray, isBoolean, isEmpty, isEqualTo, isMap, isNotEmpty, isNumber, value, value, value
-
Method Details
-
value
@Deprecated(since="7.0", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(Matcher<? super T> matcher) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofConsumer-based variantsDelegates toJsonPathExpectationsHelper.assertValue(String, Matcher). -
value
@Deprecated(since="7.0", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(Class<T> targetType, Matcher<? super T> matcher) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofConsumer-based variants -
value
@Deprecated(since="7.0", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofConsumer-based variants
-
Consumer-based variants