Class UrlRedirectClientWindow
- java.lang.Object
- 
- jakarta.faces.lifecycle.ClientWindow
- 
- org.apache.myfaces.lifecycle.clientwindow.UrlClientWindow
- 
- org.apache.myfaces.lifecycle.clientwindow.UrlRedirectClientWindow
 
 
 
- 
 public class UrlRedirectClientWindow extends UrlClientWindow 
- 
- 
Field Summary- 
Fields inherited from class org.apache.myfaces.lifecycle.clientwindow.UrlClientWindowtokenGenerator
 - 
Fields inherited from class jakarta.faces.lifecycle.ClientWindowCLIENT_WINDOW_MODE_PARAM_NAME, NUMBER_OF_CLIENT_WINDOWS_PARAM_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description UrlRedirectClientWindow(TokenGenerator tokenGenerator)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringaddRequestParameters(ExternalContext externalContext, String url)protected StringconstructInitialRedirectUrl(ExternalContext externalContext)voiddecode(FacesContext context)static StringencodeURLParameterValue(String value, ExternalContext externalContext)Encodes the given value using URLEncoder.encode() with the charset returned from ExternalContext.getResponseCharacterEncoding().- 
Methods inherited from class org.apache.myfaces.lifecycle.clientwindow.UrlClientWindowgetId, getQueryURLParameters, setId
 - 
Methods inherited from class jakarta.faces.lifecycle.ClientWindowdisableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
 
- 
 
- 
- 
- 
Constructor Detail- 
UrlRedirectClientWindowpublic UrlRedirectClientWindow(TokenGenerator tokenGenerator) 
 
- 
 - 
Method Detail- 
decodepublic void decode(FacesContext context) - Overrides:
- decodein class- UrlClientWindow
 
 - 
constructInitialRedirectUrlprotected String constructInitialRedirectUrl(ExternalContext externalContext) 
 - 
addRequestParameterspublic static String addRequestParameters(ExternalContext externalContext, String url) 
 - 
encodeURLParameterValuepublic static String encodeURLParameterValue(String value, ExternalContext externalContext) Encodes the given value using URLEncoder.encode() with the charset returned from ExternalContext.getResponseCharacterEncoding(). This is exactly how the ExternalContext impl encodes URL parameter values.- Parameters:
- value- value which should be encoded
- externalContext- current external-context
- Returns:
- encoded value
 
 
- 
 
-