org.apache.myfaces.webapp.filter
Class PortletUtils
java.lang.Object
org.apache.myfaces.webapp.filter.PortletUtils
public class PortletUtils
- extends java.lang.Object
This class is used to hold some utilities used by tomahawk in portlet
environments. The idea is that all calls to portlet api methods
should be done here, to avoid ClassNotFoundException error in
servlet environments.
The public methods should not use classes on portlet api, so the
other classes calling this class does not have dependencies to this api.
- Since:
- 1.1.8
- Version:
- $Revision: 697279 $ $Date: 2008-09-19 18:30:48 -0500 (Fri, 19 Sep 2008) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletUtils
public PortletUtils()
isDisabledTomahawkFacesContextWrapper
public static boolean isDisabledTomahawkFacesContextWrapper(java.lang.Object contextOrConfig)
isMultipartContent
public static boolean isMultipartContent(java.lang.Object request)
getContextInitParameter
public static java.lang.String getContextInitParameter(java.lang.Object context,
java.lang.String paramName)
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.