org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class DefaultWindowHandler
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowHandler
- All Implemented Interfaces:
- Serializable, WindowHandler
- Direct Known Subclasses:
- ClientSideWindowHandler
@ApplicationScoped
public class DefaultWindowHandler
- extends Object
- implements WindowHandler
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useWindowAwareUrlEncoding
protected boolean useWindowAwareUrlEncoding
DefaultWindowHandler
protected DefaultWindowHandler()
DefaultWindowHandler
@Inject
protected DefaultWindowHandler(WindowContextConfig config)
encodeURL
public String encodeURL(String url)
- Specified by:
encodeURL
in interface WindowHandler
sendRedirect
public void sendRedirect(javax.faces.context.ExternalContext externalContext,
String url,
boolean addRequestParameter)
throws IOException
- Specified by:
sendRedirect
in interface WindowHandler
- Throws:
IOException
createWindowId
public String createWindowId()
- Specified by:
createWindowId
in interface WindowHandler
restoreWindowId
public String restoreWindowId(javax.faces.context.ExternalContext externalContext)
- Specified by:
restoreWindowId
in interface WindowHandler
getCurrentWindowId
protected String getCurrentWindowId()
addWindowIdIfNecessary
protected String addWindowIdIfNecessary(String url,
String windowId)
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.