public class FlashAttributeResultMatchers
extends java.lang.Object このクラスのインスタンスは通常、MockMvcResultMatchers.flash() を介してアクセスされます。
| 修飾子 | コンストラクターと説明 |
|---|---|
protected | FlashAttributeResultMatchers()protected コンストラクター。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
<T> ResultMatcher | attribute(java.lang.String name, org.hamcrest.Matcher<T> matcher) 指定された Hamcrest Matcher を使用して flash 属性の値をアサートします。 |
<T> ResultMatcher | attribute(java.lang.String name, java.lang.Object value)flash 属性の値をアサートします。 |
<T> ResultMatcher | attributeCount(int count) フラッシュ属性の数をアサートします。 |
<T> ResultMatcher | attributeExists(java.lang.String... names) 指定されたフラッシュ属性の存在を表明します。 |
protected FlashAttributeResultMatchers()
MockMvcResultMatchers.flash() を使用します。public <T> ResultMatcher attribute(java.lang.String name, org.hamcrest.Matcher<T> matcher)
Matcher を使用して flash 属性の値をアサートします。public <T> ResultMatcher attribute(java.lang.String name, java.lang.Object value)
public <T> ResultMatcher attributeExists(java.lang.String... names)
public <T> ResultMatcher attributeCount(int count)