@Alternative public class ServerSideWindowHandler extends DefaultWindowHandler
useWindowAwareUrlEncoding| Modifier | Constructor and Description |
|---|---|
protected |
ServerSideWindowHandler() |
protected |
ServerSideWindowHandler(WindowContextConfig config) |
| Modifier and Type | Method and Description |
|---|---|
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
|
addWindowIdIfNecessary, createWindowId, encodeURL, getCurrentWindowIdprotected ServerSideWindowHandler()
@Inject protected ServerSideWindowHandler(WindowContextConfig config)
public void sendRedirect(javax.faces.context.ExternalContext externalContext,
String url,
boolean addRequestParameter)
throws IOException
sendRedirect in interface WindowHandlersendRedirect in class DefaultWindowHandlerexternalContext - 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 redirectpublic String restoreWindowId(javax.faces.context.ExternalContext externalContext)
restoreWindowId in interface WindowHandlerrestoreWindowId in class DefaultWindowHandlerexternalContext - current external-contextCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.