|
||||||||||
| 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.PortletRequestgetParameterNames in class PortletRequestWrapperpublic String getParameter(String name)
getParameter in interface javax.portlet.PortletRequestgetParameter in class PortletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface javax.portlet.PortletRequestgetParameterValues in class PortletRequestWrapperpublic Map getParameterMap()
getParameterMap in interface javax.portlet.PortletRequestgetParameterMap in class PortletRequestWrapperpublic org.apache.commons.fileupload.FileItem getFileItem(String fieldName)
public Map getFileItems()
public Object getAttribute(String string)
getAttribute in interface javax.portlet.PortletRequestgetAttribute in class PortletRequestWrapperpublic String getContentType()
getContentType in interface javax.portlet.ActionRequestgetContentType in class ActionRequestWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||