@groovy.transform.Traitgroovy.transform.Trait @groovy.transform.CompileStaticCompileStatic trait ResponseRedirector extends java.lang.Object
A trait for objects that redirect the response
Type | Name and description |
---|---|
LinkGenerator |
grailsLinkGenerator |
private boolean |
useJsessionId |
Constructor and description |
---|
ResponseRedirector
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
chain(Map args) Chains from one action to another via an HTTP redirect. |
|
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(Map argMap) Redirects for the given arguments. |
|
void |
setGrailsLinkGenerator(LinkGenerator linkGenerator) |
|
void |
setRedirectListeners(Collection redirectListeners) |
|
void |
setRequestDataValueProcessor(RequestDataValueProcessor requestDataValueProcessor) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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