@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class GrailsRedirectStrategy extends java.lang.Object implements RedirectStrategy
Builds absolute urls when using header check channel security to prevent the container from generating urls with an incorrect scheme.
| Type | Name and description |
|---|---|
PortResolver |
portResolverDependency injection for the port resolver. |
boolean |
useHeaderCheckChannelSecurityDependency injection for useHeaderCheckChannelSecurity. |
| Constructor and description |
|---|
GrailsRedirectStrategy() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected java.lang.String |
calculateRedirectUrl(HttpServletRequest request, java.lang.String url) |
|
void |
sendRedirect(HttpServletRequest request, HttpServletResponse response, java.lang.String url) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Dependency injection for the port resolver.
Dependency injection for useHeaderCheckChannelSecurity.