com.liferay.faces.bridge.filter.internal
Class PortletContainerDetector
java.lang.Object
com.liferay.faces.bridge.filter.internal.PortletContainerDetector
public class PortletContainerDetector
- extends Object
- Author:
- Neil Griffin
|
Method Summary |
static boolean |
isLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
Determines whether or not the specified PortletResponse is one created by Liferay Portal. |
static boolean |
isPlutoPortletResponse(javax.portlet.PortletResponse portletResponse)
Determines whether or not the specified PortletResponse is one created by Liferay Portal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletContainerDetector
public PortletContainerDetector()
isLiferayPortletResponse
public static boolean isLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
- Determines whether or not the specified
PortletResponse is one created by Liferay Portal.
If the specified PortletResponse is an instance of PortletResponseWrapper then it will work with the wrapped PortletResponse.
- Parameters:
portletResponse - The current PortletResponse.
- Returns:
- true if the specified portletRequest was created by Liferay Portal.
isPlutoPortletResponse
public static boolean isPlutoPortletResponse(javax.portlet.PortletResponse portletResponse)
- Determines whether or not the specified
PortletResponse is one created by Liferay Portal.
If the specified PortletResponse is an instance of PortletResponseWrapper then it will work with the wrapped PortletResponse.
- Parameters:
portletResponse - The current PortletResponse.
- Returns:
- true if the specified portletResponse was created by Pluto.
Copyright © 2015 Liferay, Inc.. All rights reserved.