public final class OidcRedirectResponse extends RestServerResponse
RestServerResponse that sends an HTTP 302 redirect with a
Location header.
Extends RestServerResponse so the framework correctly identifies
it as a server response and applies cookies set via HttpClient.putCookie(Cookie)
before sending.
contentType, result, status| Constructor and Description |
|---|
OidcRedirectResponse(java.lang.String redirectUrl)
Creates a new redirect response.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRedirectUrl()
Returns the redirect URL.
|
long |
send(WebClient client,
HttpServletResponse response) |
getCachePeriodMS, setCachePeriodpublic OidcRedirectResponse(@Nonnull
java.lang.String redirectUrl)
redirectUrl - the URL to redirect to@Nonnull public java.lang.String getRedirectUrl()
public long send(WebClient client, HttpServletResponse response) throws java.lang.Exception
send in class RestServerResponsejava.lang.ExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.