spring-framework / org.springframework.test.web.servlet.result / StatusResultMatchers / isUpgradeRequired

isUpgradeRequired

open fun isUpgradeRequired(): ResultMatcher

Assert the response status code is HttpStatus.UPGRADE_REQUIRED (426).