|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.jsf.JsfHelper
public class JsfHelper
Helper class for JSF related operations
| Constructor Summary | |
|---|---|
JsfHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getConversationId(javax.faces.context.FacesContext facesContext)
Gets the propagated conversation id. |
static java.lang.String |
getConversationIdFromRequest(javax.faces.context.FacesContext facesContext)
Gets the propagated conversation id parameter from the request |
static javax.servlet.http.HttpSession |
getHttpSession(javax.faces.context.FacesContext facesContext)
Gets the HTTP session |
static BeanManagerImpl |
getModuleBeanManager(javax.faces.context.FacesContext facesContext)
|
static boolean |
isPostback(javax.faces.context.FacesContext facesContext)
Checks if the current request is a JSF postback. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsfHelper()
| Method Detail |
|---|
public static boolean isPostback(javax.faces.context.FacesContext facesContext)
FacesContext#isPostback() convenience method is used
(which is technically an optimized and safer implementation). Otherwise,
the ResponseStateManager is consulted directly.
public static java.lang.String getConversationIdFromRequest(javax.faces.context.FacesContext facesContext)
public static java.lang.String getConversationId(javax.faces.context.FacesContext facesContext)
public static javax.servlet.http.HttpSession getHttpSession(javax.faces.context.FacesContext facesContext)
public static BeanManagerImpl getModuleBeanManager(javax.faces.context.FacesContext facesContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||