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
tokenGenerator
Fields 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 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().Methods inherited from class org.apache.myfaces.lifecycle.clientwindow.UrlClientWindow
getId, getQueryURLParameters, setId
Methods inherited from class jakarta.faces.lifecycle.ClientWindow
disableClientWindowRenderMode, enableClientWindowRenderMode, isClientWindowRenderModeEnabled
-
Constructor Details
-
UrlRedirectClientWindow
-
-
Method Details
-
decode
- Overrides:
decode
in 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
-