ModelMap function ( ) { if ( useDefaultModel ( ) ) { return this . defaultModel ; } else { if ( this . redirectModel == null ) { this . redirectModel = new ModelMap ( ) ; } return this . redirectModel ; } }
return the model to use -- either the `` default '' or the `` redirect '' model . the default model is used if redirectmodelscenario = false orthere is no redirect model i.e. redirectattributes was not declared as a method argument and ignoredefaultmodelonredirect = false . concode_field_sep boolean requestHandled concode_elem_sep Object view concode_elem_sep boolean redirectModelScenario concode_elem_sep ModelMap defaultModel concode_elem_sep SessionStatus sessionStatus concode_elem_sep ModelMap redirectModel concode_elem_sep boolean ignoreDefaultModelOnRedirect concode_elem_sep Set<String> bindingDisabledAttributes concode_elem_sep HttpStatus status concode_field_sep boolean isRequestHandled concode_elem_sep void setViewName concode_elem_sep boolean isBindingDisabled concode_elem_sep boolean containsAttribute concode_elem_sep void setIgnoreDefaultModelOnRedirect concode_elem_sep boolean useDefaultModel concode_elem_sep HttpStatus getStatus concode_elem_sep ModelMap getDefaultModel concode_elem_sep void setStatus concode_elem_sep boolean isViewReference concode_elem_sep SessionStatus getSessionStatus concode_elem_sep ModelAndViewContainer addAttribute concode_elem_sep ModelAndViewContainer addAttribute concode_elem_sep void setView concode_elem_sep ModelAndViewContainer mergeAttributes concode_elem_sep String getViewName concode_elem_sep void setRequestHandled concode_elem_sep ModelAndViewContainer addAllAttributes concode_elem_sep void setBindingDisabled concode_elem_sep void setRedirectModelScenario concode_elem_sep String toString concode_elem_sep ModelAndViewContainer removeAttributes concode_elem_sep Object getView concode_elem_sep void setRedirectModel