Class UrlRedirectClientWindow
java.lang.Object
jakarta.faces.lifecycle.ClientWindow
org.apache.myfaces.lifecycle.clientwindow.UrlClientWindow
org.apache.myfaces.lifecycle.clientwindow.UrlRedirectClientWindow
-
Field Summary
Fields inherited from class org.apache.myfaces.lifecycle.clientwindow.UrlClientWindow
tokenGeneratorFields inherited from class jakarta.faces.lifecycle.ClientWindow
CLIENT_WINDOW_MODE_PARAM_NAME, NUMBER_OF_CLIENT_WINDOWS_PARAM_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier 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.UrlClientWindow
getId, getQueryURLParameters, setIdMethods inherited from class jakarta.faces.lifecycle.ClientWindow
disableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
-
Constructor Details
-
UrlRedirectClientWindow
-
-
Method Details
-
decode
- Overrides:
decodein classUrlClientWindow
-
constructInitialRedirectUrl
-
addRequestParameters
-
encodeURLParameterValue
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 encodedexternalContext- current external-context- Returns:
- encoded value
-