org.apache.myfaces.webapp.filter
Class MultipartRequestWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.apache.myfaces.webapp.filter.MultipartRequestWrapper
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
public class MultipartRequestWrapper
- extends javax.servlet.http.HttpServletRequestWrapper
- Since:
- 1.1.7
- Version:
- $Revision: 783089 $ $Date: 2009-06-09 13:20:08 -0500 (Tue, 09 Jun 2009) $
- Author:
- Sylvain Vieujot (latest modification by $Author: lu4242 $)
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary |
MultipartRequestWrapper(javax.servlet.http.HttpServletRequest request,
int maxFileSize,
int thresholdSize,
String repositoryPath)
|
MultipartRequestWrapper(javax.servlet.http.HttpServletRequest request,
int maxFileSize,
int thresholdSize,
String repositoryPath,
int maxRequestSize,
boolean cacheFileSizeErrors)
|
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole |
Methods inherited from class javax.servlet.ServletRequestWrapper |
getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
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
MultipartRequestWrapper
public MultipartRequestWrapper(javax.servlet.http.HttpServletRequest request,
int maxFileSize,
int thresholdSize,
String repositoryPath)
MultipartRequestWrapper
public MultipartRequestWrapper(javax.servlet.http.HttpServletRequest request,
int maxFileSize,
int thresholdSize,
String repositoryPath,
int maxRequestSize,
boolean cacheFileSizeErrors)
getParameterNames
public Enumeration getParameterNames()
- Specified by:
getParameterNames
in interface javax.servlet.ServletRequest
- Overrides:
getParameterNames
in class javax.servlet.ServletRequestWrapper
getParameter
public String getParameter(String name)
- Specified by:
getParameter
in interface javax.servlet.ServletRequest
- Overrides:
getParameter
in class javax.servlet.ServletRequestWrapper
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValues
in interface javax.servlet.ServletRequest
- Overrides:
getParameterValues
in class javax.servlet.ServletRequestWrapper
getParameterMap
public Map getParameterMap()
- Specified by:
getParameterMap
in interface javax.servlet.ServletRequest
- Overrides:
getParameterMap
in class javax.servlet.ServletRequestWrapper
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.servlet.ServletRequest
- Overrides:
getAttribute
in class javax.servlet.ServletRequestWrapper
getContentType
public String getContentType()
- Specified by:
getContentType
in interface javax.servlet.ServletRequest
- Overrides:
getContentType
in class javax.servlet.ServletRequestWrapper
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.