public interface WindowHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
createWindowId()
Creates a new and unique window-id for the current user-session
|
String |
encodeURL(String url)
Allows to intercept the URL encoding
|
String |
restoreWindowId(javax.faces.context.ExternalContext externalContext)
Allows to restore the window-id depending on the window-strategy supported by the implementation
|
void |
sendRedirect(javax.faces.context.ExternalContext externalContext,
String url,
boolean addRequestParameter)
Allows to intercept redirects
|
String encodeURL(String url)
url - URL which has to be encodedvoid sendRedirect(javax.faces.context.ExternalContext externalContext,
String url,
boolean addRequestParameter)
throws IOException
externalContext - current external-contexturl - current URLaddRequestParameter - flag which indicates if the request-parameters should be added to the URLIOException - exception which might be thrown by the external-context during the redirectString createWindowId()
String restoreWindowId(javax.faces.context.ExternalContext externalContext)
externalContext - current external-contextCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.