接口 RedirectModelManager
public interface RedirectModelManager
RedirectModel saving strategy
- 从以下版本开始:
- 3.0
- 作者:
- TODAY 2021/4/2 21:52
-
字段概要
字段 -
方法概要
修饰符和类型方法说明retrieveAndUpdate(RequestContext context) Find a RedirectModel saved by a previous request that matches to the current request, remove it from underlying storage, and also remove other expired RedirectModel instances.voidsaveRedirectModel(RequestContext context, RedirectModel redirectModel) Set aRedirectModelto current request context
-
字段详细资料
-
BEAN_NAME
- 另请参阅:
-
-
方法详细资料
-
retrieveAndUpdate
Find a RedirectModel saved by a previous request that matches to the current request, remove it from underlying storage, and also remove other expired RedirectModel instances.This method is invoked in the beginning of every request in contrast to
saveRedirectModel(cn.taketoday.web.RequestContext, cn.taketoday.web.view.RedirectModel), which is invoked only when there are flash attributes to be saved - i.e. before a redirect.- 参数:
context- Current request context- 返回:
- a RedirectModel matching the current request or
null
-
saveRedirectModel
Set aRedirectModelto current request context- 参数:
context- current request contextredirectModel- value
-