public interface RequestToViewNameTranslator
HttpServletRequest
into a
logical view name when no view name is explicitly supplied.Modifier and Type | Method and Description |
---|---|
String |
getViewName(HttpServletRequest request)
Translate the given
HttpServletRequest into a view name. |
@Nullable String getViewName(HttpServletRequest request) throws Exception
HttpServletRequest
into a view name.request
- the incoming HttpServletRequest
providing
the context from which a view name is to be resolvednull
if no default foundException
- if view name translation fails