org.apache.myfaces.webapp.filter
Class PortletMultipartRequestWrapper
java.lang.Object
org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper
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:
getParameterNames in interface javax.portlet.PortletRequest- Overrides:
getParameterNames in class PortletRequestWrapper
getParameter
public String getParameter(String name)
- Specified by:
getParameter in interface javax.portlet.PortletRequest- Overrides:
getParameter in class PortletRequestWrapper
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValues in interface javax.portlet.PortletRequest- Overrides:
getParameterValues in class PortletRequestWrapper
getParameterMap
public Map getParameterMap()
- Specified by:
getParameterMap in interface javax.portlet.PortletRequest- Overrides:
getParameterMap in 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:
getAttribute in interface javax.portlet.PortletRequest- Overrides:
getAttribute in class PortletRequestWrapper
getContentType
public String getContentType()
- Specified by:
getContentType in interface javax.portlet.ActionRequest- Overrides:
getContentType in class ActionRequestWrapper
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.