@groovy.transform.CompileStatic trait ResponseRedirector
A trait for objects that redirect the response
Type | Name and description |
---|---|
boolean |
useJsessionId |
Type | Name and description |
---|---|
void |
chain(java.util.Map args) Chains from one action to another via an HTTP redirect. |
java.util.Map |
getChainModel() Obtains the chain model which is used to chain request attributes from one request to the next via flash scope |
LinkGenerator |
getGrailsLinkGenerator() |
void |
redirect(java.lang.Object object) Redirects for the given arguments. |
void |
redirect(java.util.Map argMap) Redirects for the given arguments. |
void |
setGrailsLinkGenerator(LinkGenerator linkGenerator) |
void |
setRedirectListeners(java.util.Collection<RedirectEventListener> redirectListeners) |
void |
setRequestDataValueProcessor(org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor) |
Chains from one action to another via an HTTP redirect. The model is retained in the following request in the 'chainModel' property within flash scope.
args
- The argumentsObtains the chain model which is used to chain request attributes from one request to the next via flash scope
Redirects for the given arguments.
object
- A domain classRedirects for the given arguments.
argMap
- The arguments