|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScaffoldResponseHandler
An interface defining methods to handle responses. Implementors of this interface are responsible for transforming the model into an appropriate ModelAndView instance or writing directly to the response
Method Summary | |
---|---|
ModelAndView |
handleResponse(HttpServletRequest request,
HttpServletResponse response,
String actionName,
Map model)
Creates the response for a Scaffolded model and optionally returns a ModelAndView instance |
void |
setViewResolver(ViewResolver resolver)
An optional ViewResolver instance for resolving views if not writing directly to the response |
Method Detail |
---|
ModelAndView handleResponse(HttpServletRequest request, HttpServletResponse response, String actionName, Map model)
request
- The HttpServletRequest instanceresponse
- The HttpServletResponse instancemodel
- The model to renderactionName
- The name of the action be handled
void setViewResolver(ViewResolver resolver)
resolver
- The ViewResolver instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |