public class UrlRedirectClientWindow extends UrlClientWindow
tokenGenerator
CLIENT_WINDOW_MODE_PARAM_NAME
Constructor and Description |
---|
UrlRedirectClientWindow(TokenGenerator tokenGenerator) |
Modifier and Type | Method and Description |
---|---|
static String |
addRequestParameters(ExternalContext externalContext,
String url) |
protected String |
constructInitialRedirectUrl(ExternalContext externalContext) |
void |
decode(FacesContext context) |
static String |
encodeURLParameterValue(String value,
ExternalContext externalContext)
Encodes the given value using URLEncoder.encode() with the charset returned
from ExternalContext.getResponseCharacterEncoding().
|
getId, getQueryURLParameters, setId
disableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
public UrlRedirectClientWindow(TokenGenerator tokenGenerator)
public void decode(FacesContext context)
decode
in class UrlClientWindow
protected String constructInitialRedirectUrl(ExternalContext externalContext)
public static String addRequestParameters(ExternalContext externalContext, String url)
public static String encodeURLParameterValue(String value, ExternalContext externalContext)
value
- value which should be encodedexternalContext
- current external-contextCopyright © 2021 The Apache Software Foundation. All rights reserved.