@groovy.transform.CompileStatic @groovy.util.logging.Commons class ResponseRedirector extends java.lang.Object
Encapsulates the logic for issuing a redirect based on a Map of arguments
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ARGUMENT_ABSOLUTE |
|
static java.lang.String |
ARGUMENT_PERMANENT |
|
private static java.lang.String |
BLANK |
|
static java.lang.String |
GRAILS_REDIRECT_ISSUED |
|
private static java.lang.String |
KEEP_PARAMS_WHEN_REDIRECT |
|
private LinkGenerator |
linkGenerator |
|
private java.util.Collection<RedirectEventListener> |
redirectListeners |
|
private org.springframework.web.servlet.support.RequestDataValueProcessor |
requestDataValueProcessor |
|
private boolean |
useJessionId |
Type | Name and description |
---|---|
LinkGenerator |
linkGenerator |
java.util.Collection<RedirectEventListener> |
redirectListeners |
org.springframework.web.servlet.support.RequestDataValueProcessor |
requestDataValueProcessor |
boolean |
useJessionId |
Constructor and description |
---|
ResponseRedirector
(LinkGenerator linkGenerator) |
Type Params | Return Type | Name and description |
---|---|---|
|
private java.lang.String |
processedUrl(java.lang.String link, javax.servlet.http.HttpServletRequest request) |
|
void |
redirect(java.util.Map arguments) |
|
void |
redirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map arguments) |
|
private void |
redirectResponse(java.lang.String serverBaseURL, java.lang.String actualUri, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean permanent, boolean absolute) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |
Groovy Documentation