class RelativeRedirectResponseWrapper
extends HttpServletResponseWrapper
RelativeRedirectFilter
also shared with ForwardedHeaderFilter
.Modifier and Type | Field and Description |
---|---|
private HttpStatus |
redirectStatus |
Modifier | Constructor and Description |
---|---|
private |
RelativeRedirectResponseWrapper(HttpServletResponse response,
HttpStatus redirectStatus) |
Modifier and Type | Method and Description |
---|---|
void |
sendRedirect(java.lang.String location) |
static HttpServletResponse |
wrapIfNecessary(HttpServletResponse response,
HttpStatus redirectStatus) |
private final HttpStatus redirectStatus
private RelativeRedirectResponseWrapper(HttpServletResponse response, HttpStatus redirectStatus)
public void sendRedirect(java.lang.String location)
public static HttpServletResponse wrapIfNecessary(HttpServletResponse response, HttpStatus redirectStatus)