Class UrlRedirectClientWindow
java.lang.Object
jakarta.faces.lifecycle.ClientWindow
org.apache.myfaces.lifecycle.clientwindow.UrlClientWindow
org.apache.myfaces.lifecycle.clientwindow.UrlRedirectClientWindow
- 
Field SummaryFields inherited from class org.apache.myfaces.lifecycle.clientwindow.UrlClientWindowtokenGeneratorFields inherited from class jakarta.faces.lifecycle.ClientWindowCLIENT_WINDOW_MODE_PARAM_NAME, NUMBER_OF_CLIENT_WINDOWS_PARAM_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic 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, setIdMethods inherited from class jakarta.faces.lifecycle.ClientWindowdisableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
- 
Constructor Details- 
UrlRedirectClientWindow
 
- 
- 
Method Details- 
decode- Overrides:
- decodein class- UrlClientWindow
 
- 
constructInitialRedirectUrl
- 
addRequestParameters
- 
encodeURLParameterValueEncodes 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
 
 
-