Class AbstractJsonPathAssertions<B>
java.lang.Object
org.springframework.test.web.support.AbstractJsonPathAssertions<B>
- Type Parameters:
B- the type of body spec (RestTestClient vs WebTestClient specific)
- Direct Known Subclasses:
JsonPathAssertions, JsonPathAssertions
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractJsonPathAssertions(B spec, String content, String expression, @Nullable com.jayway.jsonpath.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()protected Bprotected Stringprotected JsonPathExpectationsHelperinthashCode()isArray()isEmpty()isMap()isNumber()<T> BConsume the result of the JSONPath evaluation and provide a target class.<T> BConsume the result of the JSONPath evaluation.<T> Bvalue(ParameterizedTypeReference<T> targetType, Consumer<T> consumer) Consume the result of the JSONPath evaluation and provide a parameterized type.
-
Constructor Details
-
AbstractJsonPathAssertions
-
-
Method Details
-
getBodySpec
-
getContent
-
getPathHelper
-
isEqualTo
-
exists
-
doesNotExist
-
isEmpty
-
isNotEmpty
-
hasJsonPath
-
doesNotHaveJsonPath
-
isBoolean
-
isNumber
-
isArray
-
isMap
-
value
-
value
-
value
Consume the result of the JSONPath evaluation and provide a parameterized type. -
equals
-
hashCode
-