polish
This commit is contained in:
@@ -289,6 +289,10 @@ public abstract class AbstractMvcView implements View {
|
||||
|
||||
// package private
|
||||
|
||||
/**
|
||||
* Restores the internal state of this view from the provided state holder.
|
||||
* @see AbstractMvcViewFactory#getView(RequestContext)
|
||||
*/
|
||||
void restoreState(ViewActionStateHolder stateHolder) {
|
||||
eventId = stateHolder.getEventId();
|
||||
mappingResults = stateHolder.getMappingResults();
|
||||
|
||||
@@ -91,6 +91,12 @@ public abstract class AbstractMvcViewFactory implements ViewFactory {
|
||||
return mvcView;
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract factory method subclasses should implement to return the concrete MVC view implementation.
|
||||
* @param view the actual resolved view implementation
|
||||
* @param context the current request context
|
||||
* @return the mvc view
|
||||
*/
|
||||
protected abstract AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user