Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -43,6 +43,7 @@ import org.springframework.web.bind.support.SimpleSessionStatus;
|
||||
* returns the redirect model instead of the default model.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.1
|
||||
*/
|
||||
public class ModelAndViewContainer {
|
||||
@@ -165,9 +166,9 @@ public class ModelAndViewContainer {
|
||||
|
||||
/**
|
||||
* Provide a separate model instance to use in a redirect scenario.
|
||||
* The provided additional model however is not used unless
|
||||
* {@link #setRedirectModelScenario(boolean)} gets set to {@code true} to signal
|
||||
* a redirect scenario.
|
||||
* <p>The provided additional model however is not used unless
|
||||
* {@link #setRedirectModelScenario} gets set to {@code true}
|
||||
* to signal an actual redirect scenario.
|
||||
*/
|
||||
public void setRedirectModel(ModelMap redirectModel) {
|
||||
this.redirectModel = redirectModel;
|
||||
|
||||
Reference in New Issue
Block a user