|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper
org.apache.myfaces.webapp.filter.PortletMultipartRequestWrapper
public class PortletMultipartRequestWrapper
Field Summary | |
---|---|
static String |
UPLOADED_FILES_ATTRIBUTE
|
static String |
WWW_FORM_URLENCODED_TYPE
|
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)
|
Method Summary | |
---|---|
Object |
getAttribute(String string)
|
String |
getContentType()
|
org.apache.commons.fileupload.FileItem |
getFileItem(String fieldName)
|
Map |
getFileItems()
Not used internally by MyFaces, but provides a way to handle the uploaded files out of MyFaces. |
String |
getParameter(String name)
|
Map |
getParameterMap()
|
Enumeration |
getParameterNames()
|
String[] |
getParameterValues(String name)
|
Methods inherited from class org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper |
---|
getCharacterEncoding, getContentLength, getPortletInputStream, getReader, setCharacterEncoding |
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 |
Field Detail |
---|
public static final String UPLOADED_FILES_ATTRIBUTE
public static final String WWW_FORM_URLENCODED_TYPE
Constructor Detail |
---|
public PortletMultipartRequestWrapper(Object request, int maxFileSize, int thresholdSize, String repositoryPath)
public PortletMultipartRequestWrapper(Object request, int maxFileSize, int thresholdSize, String repositoryPath, int maxRequestSize, boolean cacheFileSizeErrors)
Method Detail |
---|
public Enumeration getParameterNames()
getParameterNames
in interface javax.portlet.PortletRequest
getParameterNames
in class PortletRequestWrapper
public String getParameter(String name)
getParameter
in interface javax.portlet.PortletRequest
getParameter
in class PortletRequestWrapper
public String[] getParameterValues(String name)
getParameterValues
in interface javax.portlet.PortletRequest
getParameterValues
in class PortletRequestWrapper
public Map getParameterMap()
getParameterMap
in interface javax.portlet.PortletRequest
getParameterMap
in class PortletRequestWrapper
public org.apache.commons.fileupload.FileItem getFileItem(String fieldName)
public Map getFileItems()
public Object getAttribute(String string)
getAttribute
in interface javax.portlet.PortletRequest
getAttribute
in class PortletRequestWrapper
public String getContentType()
getContentType
in interface javax.portlet.ActionRequest
getContentType
in class ActionRequestWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |