org.apache.myfaces.webapp.filter
Class PortletMultipartRequestWrapper
java.lang.Object
   org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
       org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper
org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper
           org.apache.myfaces.webapp.filter.PortletMultipartRequestWrapper
org.apache.myfaces.webapp.filter.PortletMultipartRequestWrapper
- All Implemented Interfaces: 
- javax.portlet.ActionRequest, javax.portlet.PortletRequest
- public class PortletMultipartRequestWrapper 
- extends ActionRequestWrapper
- Since:
- 1.1.8
- Version:
- $Revision: 1379874 $ $Date: 2012-09-01 17:13:08 -0500 (Sat, 01 Sep 2012) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
 
| Fields inherited from interface javax.portlet.PortletRequest | 
| BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO | 
 
| Constructor Summary | 
| PortletMultipartRequestWrapper(Object request,
                               int maxFileSize,
                               int thresholdSize,
                               String repositoryPath)
 | 
| PortletMultipartRequestWrapper(Object request,
                               int maxFileSize,
                               int thresholdSize,
                               String repositoryPath,
                               int maxRequestSize,
                               boolean cacheFileSizeErrors)
 | 
| PortletMultipartRequestWrapper(Object request,
                               long maxFileSize,
                               int thresholdSize,
                               String repositoryPath)
 | 
| PortletMultipartRequestWrapper(Object request,
                               long maxFileSize,
                               int thresholdSize,
                               String repositoryPath,
                               long maxRequestSize,
                               boolean cacheFileSizeErrors)
 | 
 
 
 
| Methods inherited from class org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper | 
| getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequest, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setRequest | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface javax.portlet.PortletRequest | 
| getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute | 
 
UPLOADED_FILES_ATTRIBUTE
public static final String UPLOADED_FILES_ATTRIBUTE
- See Also:
- Constant Field Values
WWW_FORM_URLENCODED_TYPE
public static final String WWW_FORM_URLENCODED_TYPE
- See Also:
- Constant Field Values
PortletMultipartRequestWrapper
public PortletMultipartRequestWrapper(Object request,
                                      int maxFileSize,
                                      int thresholdSize,
                                      String repositoryPath)
PortletMultipartRequestWrapper
public PortletMultipartRequestWrapper(Object request,
                                      int maxFileSize,
                                      int thresholdSize,
                                      String repositoryPath,
                                      int maxRequestSize,
                                      boolean cacheFileSizeErrors)
PortletMultipartRequestWrapper
public PortletMultipartRequestWrapper(Object request,
                                      long maxFileSize,
                                      int thresholdSize,
                                      String repositoryPath)
PortletMultipartRequestWrapper
public PortletMultipartRequestWrapper(Object request,
                                      long maxFileSize,
                                      int thresholdSize,
                                      String repositoryPath,
                                      long maxRequestSize,
                                      boolean cacheFileSizeErrors)
getParameterNames
public Enumeration getParameterNames()
- 
- Specified by:
- getParameterNamesin interface- javax.portlet.PortletRequest
- Overrides:
- getParameterNamesin class- PortletRequestWrapper
 
- 
 
getParameter
public String getParameter(String name)
- 
- Specified by:
- getParameterin interface- javax.portlet.PortletRequest
- Overrides:
- getParameterin class- PortletRequestWrapper
 
- 
 
getParameterValues
public String[] getParameterValues(String name)
- 
- Specified by:
- getParameterValuesin interface- javax.portlet.PortletRequest
- Overrides:
- getParameterValuesin class- PortletRequestWrapper
 
- 
 
getParameterMap
public Map getParameterMap()
- 
- Specified by:
- getParameterMapin interface- javax.portlet.PortletRequest
- Overrides:
- getParameterMapin class- PortletRequestWrapper
 
- 
 
getFileItem
public org.apache.commons.fileupload.FileItem getFileItem(String fieldName)
- 
 
getFileItems
public Map getFileItems()
- Not used internally by MyFaces, but provides a way to handle the uploaded files
 out of MyFaces.
 
- 
 
getAttribute
public Object getAttribute(String string)
- 
- Specified by:
- getAttributein interface- javax.portlet.PortletRequest
- Overrides:
- getAttributein class- PortletRequestWrapper
 
- 
 
getContentType
public String getContentType()
- 
- Specified by:
- getContentTypein interface- javax.portlet.ActionRequest
- Overrides:
- getContentTypein class- ActionRequestWrapper
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.