public interface RequestToViewNameTranslator
HttpServletRequest
into a
logical view name when no view name is explicitly supplied.Modifier and Type | Method and Description |
---|---|
String |
getViewName(javax.servlet.http.HttpServletRequest request)
Translate the given
HttpServletRequest into a view name. |
String getViewName(javax.servlet.http.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 found)Exception
- if view name translation failsCopyright © 2015. All rights reserved.