public class ViewResultMatchers extends ObjectSE
このクラスのインスタンスは通常、MockMvcResultMatchers.view()
を介してアクセスされます。
修飾子 | コンストラクターと説明 |
---|---|
protected | ViewResultMatchers() protected コンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
ResultMatcher | name(Matcher<? super StringSE> matcher) 指定された Hamcrest Matcher を使用して、選択されたビュー名をアサートします。 |
ResultMatcher | name(StringSE expectedViewName) 選択したビュー名をアサートします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected ViewResultMatchers()
MockMvcResultMatchers.view()
を使用します。public ResultMatcher name(Matcher<? super StringSE> matcher)
Matcher
を使用して、選択されたビュー名をアサートします。public ResultMatcher name(StringSE expectedViewName)