クラス JsonPathAssertions
java.lang.ObjectSE
org.springframework.test.web.reactive.server.JsonPathAssertions
JsonPath アサーション。
- 導入:
- 5.0
- 作成者:
- Rossen Stoyanchev, Stephane Nicoll
- 関連事項:
方法の概要
修飾子と型メソッド説明boolean
exists()
int
hashCode()
isArray()
isEmpty()
isMap()
isNumber()
value
(ClassSE<T> targetType, ConsumerSE<T> consumer) JSONPath 評価の結果を使用して、ターゲットクラスを提供します。value
(ConsumerSE<T> consumer) JSONPath 評価の結果を使用します。value
(ConsumerSE<T> consumer, ClassSE<T> targetType) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。value
(ParameterizedTypeReference<T> targetType, ConsumerSE<T> consumer) JSONPath 評価の結果を使用し、パラメーター化された型を提供します。value
(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher)
メソッドの詳細
isEqualTo
exists
doesNotExist
isEmpty
isNotEmpty
hasJsonPath
- 導入:
- 5.0.3
doesNotHaveJsonPath
- 導入:
- 5.0.3
isBoolean
isNumber
isArray
isMap
value
- 導入:
- 5.1
value
- 導入:
- 6.2
value
@DeprecatedSE(since="6.2", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(Matcher<? super T> matcher, ClassSE<T> targetType) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- 導入:
- 5.1
value
public <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher) - 導入:
- 6.2
value
JSONPath 評価の結果を使用します。- 導入:
- 5.1
value
JSONPath 評価の結果を使用して、ターゲットクラスを提供します。- 導入:
- 6.2
value
@DeprecatedSE(since="6.2", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(ConsumerSE<T> consumer, ClassSE<T> targetType) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。JSONPath 評価の結果を使用して、ターゲットクラスを提供します。- 導入:
- 5.1
value
public <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, ConsumerSE<T> consumer) JSONPath 評価の結果を使用し、パラメーター化された型を提供します。- 導入:
- 6.2
equals
hashCode
public int hashCode()
value(Class, Consumer)
を推奨