Seam Core JSF2 2.3.1.Final-redhat-2

org.jboss.seam.util
Class FacesUrlTransformer

java.lang.Object
  extended by org.jboss.seam.util.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
FacesUrlTransformer(String url, javax.faces.context.FacesContext facesContext)
           
 
Method Summary
 FacesUrlTransformer appendConversationIdIfNecessary(String cidParameterName, String cid)
           
 String encode()
           
 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(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()

Seam Core JSF2 2.3.1.Final-redhat-2

Copyright © 2013 Seam Framework. All Rights Reserved.