spring-framework / org.springframework.web.reactive.result.view / AbstractUrlBasedView / checkResourceExists

checkResourceExists

abstract fun checkResourceExists(locale: Locale): Boolean

Check whether the resource for the configured URL actually exists.

Parameters

locale - the desired Locale that we're looking for

Exceptions

Exception - if the resource exists but is invalid (e.g. could not be parsed)

Return
false if the resource exists false if we know that it does not exist