Class FlashAttributeResultMatchers
java.lang.Object
org.springframework.test.web.servlet.result.FlashAttributeResultMatchers
Factory for "output" flash attribute assertions.
 
An instance of this class is typically accessed via
 MockMvcResultMatchers.flash().
- Since:
 - 3.2
 - Author:
 - Rossen Stoyanchev
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionAssert a flash attribute's value.<T> ResultMatcherAssert a flash attribute's value with the given HamcrestMatcher.attributeCount(int count) Assert the number of flash attributes.attributeExists(String... names) Assert the existence of the given flash attributes. 
- 
Constructor Details
- 
FlashAttributeResultMatchers
protected FlashAttributeResultMatchers()Protected constructor. UseMockMvcResultMatchers.flash(). 
 - 
 - 
Method Details
- 
attribute
Assert a flash attribute's value with the given HamcrestMatcher. - 
attribute
Assert a flash attribute's value. - 
attributeExists
Assert the existence of the given flash attributes. - 
attributeCount
Assert the number of flash attributes. 
 -