Package org.jboss.weld.module.jsf
Class FacesUrlTransformer
- java.lang.Object
-
- org.jboss.weld.module.jsf.FacesUrlTransformer
-
public class FacesUrlTransformer extends Object
Helper class for preparing JSF URLs which include the conversation id.- Author:
- Nicklas Karlsson, Dan Allen, Marko Luksa
-
-
Constructor Summary
Constructors Constructor Description FacesUrlTransformer(String url, jakarta.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, jakarta.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()
-
-