public interface RequestToViewNameTranslator
HttpServletRequest
into a
logical view name when no view name is explicitly supplied.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getViewName(HttpServletRequest request)
Translate the given
HttpServletRequest into a view name. |
@Nullable java.lang.String getViewName(HttpServletRequest request) throws java.lang.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 foundjava.lang.Exception
- if view name translation fails