类 JsonPathAssertions
java.lang.Object
cn.taketoday.test.web.reactive.server.JsonPathAssertions
JsonPath assertions.
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private final WebTestClient.BodyContentSpecprivate final Stringprivate final JsonPathExpectationsHelper -
构造器概要
构造器构造器说明JsonPathAssertions(WebTestClient.BodyContentSpec spec, String content, String expression, Object... args) -
方法概要
修饰符和类型方法说明booleanexists()inthashCode()isArray()isEmpty()isMap()isNumber()Consume the result of the JSONPath evaluation.Consume the result of the JSONPath evaluation and provide a target class.value(org.hamcrest.Matcher<? super T> matcher) Delegates toJsonPathExpectationsHelper.assertValue(String, Matcher).
-
字段详细资料
-
bodySpec
-
-
pathHelper
-
-
构造器详细资料
-
JsonPathAssertions
JsonPathAssertions(WebTestClient.BodyContentSpec spec, String content, String expression, Object... args)
-
-
方法详细资料
-
isEqualTo
-
exists
-
doesNotExist
-
isEmpty
-
isNotEmpty
-
hasJsonPath
-
doesNotHaveJsonPath
-
isBoolean
-
isNumber
-
isArray
-
isMap
-
value
Delegates toJsonPathExpectationsHelper.assertValue(String, Matcher). -
value
public <T> WebTestClient.BodyContentSpec value(org.hamcrest.Matcher<? super T> matcher, Class<T> targetType) -
value
Consume the result of the JSONPath evaluation. -
value
Consume the result of the JSONPath evaluation and provide a target class. -
equals
-
hashCode
public int hashCode()
-