Package org.jboss.weld.jsf
Class FacesUrlTransformer
- java.lang.Object
-
- org.jboss.weld.jsf.FacesUrlTransformer
-
public class FacesUrlTransformer extends 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, Marko Luksa
-
-
Constructor Summary
Constructors Constructor Description FacesUrlTransformer(String url, javax.faces.context.FacesContext facesContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacesUrlTransformerappendConversationIdIfNecessary(String cidParameterName, String cid)Stringencode()StringgetUrl()FacesUrlTransformertoActionUrl()FacesUrlTransformertoRedirectViewId()
-
-
-
Constructor Detail
-
FacesUrlTransformer
public FacesUrlTransformer(String url, javax.faces.context.FacesContext facesContext)
-
-
Method Detail
-
appendConversationIdIfNecessary
public FacesUrlTransformer appendConversationIdIfNecessary(String cidParameterName, String cid)
-
getUrl
public String getUrl()
-
toRedirectViewId
public FacesUrlTransformer toRedirectViewId()
-
toActionUrl
public FacesUrlTransformer toActionUrl()
-
encode
public String encode()
-
-