javax.portlet.faces
Class BridgeUtil
java.lang.Object
javax.portlet.faces.BridgeUtil
public class BridgeUtil
- extends Object
Utility class designed to make it easy for Faces subsystems including the
bridge itself to determine whether this request is running in a portlet
container and/or which portlet request phase it is executing in.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeUtil
public BridgeUtil()
isPortletRequest
public static boolean isPortletRequest()
- Indicates whether the current request is executing in the portlet container.
If it returns
true
the request is a portlet request, otherwise it
is not.
getPortletRequestPhase
public static Bridge.PortletPhase getPortletRequestPhase()
- Return describes the portlet request phase currently being executed. If
null
then this request is not being executed in a portlet
container.
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.