org.apache.myfaces.webapp.filter
Class PortletUtils
java.lang.Object
org.apache.myfaces.webapp.filter.PortletUtils
public class PortletUtils
- extends 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: 954965 $ $Date: 2010-06-15 11:58:31 -0500 (Tue, 15 Jun 2010) $
- 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(Object contextOrConfig)
isMultipartContent
public static boolean isMultipartContent(Object request)
getContextInitParameter
public static String getContextInitParameter(Object context,
String paramName)
getAttribute
public static Object getAttribute(Object context,
String key)
setAttribute
public static void setAttribute(Object context,
String key,
Object value)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.