接口 Rendering.RedirectBuilder
- 封闭接口:
- Rendering
public static interface Rendering.RedirectBuilder extends Rendering.Builder<Rendering.RedirectBuilder>
ExtendsRendering.Builder
with extra options for redirect scenarios.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Rendering.RedirectBuilder
contextRelative(boolean contextRelative)
Whether to the provided redirect URL should be prepended with the application context path (if any).Rendering.RedirectBuilder
propagateQuery(boolean propagate)
Whether to append the query string of the current URL to the target redirect URL or not.从接口继承的方法 org.springframework.web.reactive.result.view.Rendering.Builder
build, header, headers, model, modelAttribute, modelAttribute, modelAttributes, status
方法详细资料
contextRelative
Rendering.RedirectBuilder contextRelative(boolean contextRelative)
Whether to the provided redirect URL should be prepended with the application context path (if any).By default this is set to
true
.
propagateQuery
Rendering.RedirectBuilder propagateQuery(boolean propagate)
Whether to append the query string of the current URL to the target redirect URL or not.By default this is set to
false
.