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 SummaryConstructorsModifierConstructorDescriptionprotectedAbstractJsonPathAssertions(B spec, String content, String expression, @Nullable com.jayway.jsonpath.Configuration configuration) 
- 
Method SummaryModifier 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
- 
valueConsume the result of the JSONPath evaluation and provide a parameterized type.
- 
equals
- 
hashCode
 
-