@groovy.transform.Trait @groovy.transform.CompileStatic trait ResponseRedirector extends java.lang.Object implements WebAttributes
A trait for objects that redirect the response
Type | Name and description |
---|---|
LinkGenerator |
grailsLinkGenerator |
boolean |
useJsessionId |
Type Params | Return 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() |
|
boolean |
isUseJsessionId() |
|
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) |
|
void |
setUseJsessionId(boolean useJsessionId) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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