org.jboss.weld.jsf
Class FacesUrlTransformer

java.lang.Object
  extended by org.jboss.weld.jsf.FacesUrlTransformer

public class FacesUrlTransformer
extends java.lang.Object

Helper class for preparing JSF URLs which include the conversation id. TODO This class has the potential to be better designed to make it fit more use cases.

Author:
Nicklas Karlsson, Dan Allen

Constructor Summary
FacesUrlTransformer(java.lang.String url, javax.faces.context.FacesContext facesContext)
           
 
Method Summary
 FacesUrlTransformer appendConversationIdIfNecessary(java.lang.String cid)
           
 java.lang.String encode()
           
 java.lang.String getUrl()
           
 FacesUrlTransformer toActionUrl()
           
 FacesUrlTransformer toRedirectViewId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesUrlTransformer

public FacesUrlTransformer(java.lang.String url,
                           javax.faces.context.FacesContext facesContext)
Method Detail

appendConversationIdIfNecessary

public FacesUrlTransformer appendConversationIdIfNecessary(java.lang.String cid)

getUrl

public java.lang.String getUrl()

toRedirectViewId

public FacesUrlTransformer toRedirectViewId()

toActionUrl

public FacesUrlTransformer toActionUrl()

encode

public java.lang.String encode()


Copyright © 2008-2009 Seam Framework. All Rights Reserved.