| |
|
| java.lang.Object com.nabhinc.portlet.mvcportlet.core.MultipartRequestWrapper
MultipartRequestWrapper | public class MultipartRequestWrapper implements ActionRequest(Code) | | This is a convenience class used to process file upload request. It parses a multipart
request and provides easy access to form fields and uploaded files. Form fields can be
accessed using standard getParameter* methods. Uploaded FileItem objects can be accessed
via request attributes "mvcportlet.file.<file name>".
author: Padmanabh Dabke author: (c) 2004 Nabh Information Systems, Inc. All Rights Reserved. |
MultipartRequestWrapper | public MultipartRequestWrapper(ActionRequest aRequest, long maxFileSize, int threshold, String repositoryPath) throws FileUploadException(Code) | | |
getAttribute | public Object getAttribute(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.getAttribute(java.lang.String) |
getAttributeNames | public Enumeration getAttributeNames()(Code) | | See Also: javax.portlet.PortletRequest.getAttributeNames |
getAuthType | public String getAuthType()(Code) | | See Also: javax.portlet.PortletRequest.getAuthType |
getCharacterEncoding | public String getCharacterEncoding()(Code) | | See Also: javax.portlet.ActionRequest.getCharacterEncoding |
getContentLength | public int getContentLength()(Code) | | See Also: javax.portlet.ActionRequest.getContentLength |
getContentType | public String getContentType()(Code) | | See Also: javax.portlet.ActionRequest.getContentType |
getContextPath | public String getContextPath()(Code) | | See Also: javax.portlet.PortletRequest.getContextPath |
getLocale | public Locale getLocale()(Code) | | See Also: javax.portlet.PortletRequest.getLocale |
getLocales | public Enumeration getLocales()(Code) | | See Also: javax.portlet.PortletRequest.getLocales |
getParameter | public String getParameter(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.getParameter(java.lang.String) |
getParameterMap | public Map getParameterMap()(Code) | | See Also: javax.portlet.PortletRequest.getParameterMap |
getParameterNames | public Enumeration getParameterNames()(Code) | | See Also: javax.portlet.PortletRequest.getParameterNames |
getParameterValues | public String[] getParameterValues(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.getParameterValues(java.lang.String) |
getPortalContext | public PortalContext getPortalContext()(Code) | | See Also: javax.portlet.PortletRequest.getPortalContext |
getPortletInputStream | public InputStream getPortletInputStream() throws IOException(Code) | | See Also: javax.portlet.ActionRequest.getPortletInputStream |
getPortletMode | public PortletMode getPortletMode()(Code) | | See Also: javax.portlet.PortletRequest.getPortletMode |
getPortletSession | public PortletSession getPortletSession()(Code) | | See Also: javax.portlet.PortletRequest.getPortletSession |
getPortletSession | public PortletSession getPortletSession(boolean arg0)(Code) | | See Also: javax.portlet.PortletRequest.getPortletSession(boolean) |
getPreferences | public PortletPreferences getPreferences()(Code) | | See Also: javax.portlet.PortletRequest.getPreferences |
getProperties | public Enumeration getProperties(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.getProperties(java.lang.String) |
getProperty | public String getProperty(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.getProperty(java.lang.String) |
getPropertyNames | public Enumeration getPropertyNames()(Code) | | See Also: javax.portlet.PortletRequest.getPropertyNames |
getRemoteUser | public String getRemoteUser()(Code) | | See Also: javax.portlet.PortletRequest.getRemoteUser |
getRequestedSessionId | public String getRequestedSessionId()(Code) | | See Also: javax.portlet.PortletRequest.getRequestedSessionId |
getResponseContentType | public String getResponseContentType()(Code) | | See Also: javax.portlet.PortletRequest.getResponseContentType |
getResponseContentTypes | public Enumeration getResponseContentTypes()(Code) | | See Also: javax.portlet.PortletRequest.getResponseContentTypes |
getScheme | public String getScheme()(Code) | | See Also: javax.portlet.PortletRequest.getScheme |
getServerName | public String getServerName()(Code) | | See Also: javax.portlet.PortletRequest.getServerName |
getServerPort | public int getServerPort()(Code) | | See Also: javax.portlet.PortletRequest.getServerPort |
getUserPrincipal | public Principal getUserPrincipal()(Code) | | See Also: javax.portlet.PortletRequest.getUserPrincipal |
getWindowState | public WindowState getWindowState()(Code) | | See Also: javax.portlet.PortletRequest.getWindowState |
isPortletModeAllowed | public boolean isPortletModeAllowed(PortletMode arg0)(Code) | | See Also: javax.portlet.PortletRequest.isPortletModeAllowed(javax.portlet.PortletMode) |
isRequestedSessionIdValid | public boolean isRequestedSessionIdValid()(Code) | | See Also: javax.portlet.PortletRequest.isRequestedSessionIdValid |
isSecure | public boolean isSecure()(Code) | | See Also: javax.portlet.PortletRequest.isSecure |
isUserInRole | public boolean isUserInRole(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.isUserInRole(java.lang.String) |
isWindowStateAllowed | public boolean isWindowStateAllowed(WindowState arg0)(Code) | | See Also: javax.portlet.PortletRequest.isWindowStateAllowed(javax.portlet.WindowState) |
populateParameters | public void populateParameters() throws FileUploadException(Code) | | Parses a multipart request submission to figure out form inputs
and uploaded files.
throws: FileUploadException - |
removeAttribute | public void removeAttribute(String arg0)(Code) | | See Also: javax.portlet.PortletRequest.removeAttribute(java.lang.String) |
setAttribute | public void setAttribute(String arg0, Object arg1)(Code) | | See Also: javax.portlet.PortletRequest.setAttribute(java.lang.Stringjava.lang.Object) |
setMaxFileSize | public void setMaxFileSize(long fileSize)(Code) | | |
setThreshold | public void setThreshold(int threshold)(Code) | | |
|
|
|