spring-framework / org.springframework.web.servlet.view / DefaultRequestToViewNameTranslator / getViewName

getViewName

open fun getViewName(request: HttpServletRequest): String

Overrides RequestToViewNameTranslator.getViewName

Translates the request URI of the incoming HttpServletRequest into the view name based on the configured parameters.

See Also
org.springframework.web.util.UrlPathHelper#getLookupPathForRequest#transformPath