当前页面:
在线文档首页 >
JBoss Seam 1.2.0 API 英文版文档
MultipartRequest (JBoss Seam API Documentation) - JBoss Seam 1.2.0 API 英文版文档
org.jboss.seam.web
Class MultipartRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.jboss.seam.web.MultipartRequest
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
public class MultipartRequest
- extends javax.servlet.http.HttpServletRequestWrapper
Request wrapper for supporting multipart requests, used for file uploading.
- Author:
- Shane Bryzak
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary |
MultipartRequest(javax.servlet.http.HttpServletRequest request,
boolean createTempFiles,
int maxRequestSize)
|
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 |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, 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 |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
WWW_FORM_URLENCODED_TYPE
public static final String WWW_FORM_URLENCODED_TYPE
- See Also:
- Constant Field Values
MultipartRequest
public MultipartRequest(javax.servlet.http.HttpServletRequest request,
boolean createTempFiles,
int maxRequestSize)
getParameterNames
public Enumeration getParameterNames()
- Specified by:
getParameterNames
in interface javax.servlet.ServletRequest
- Overrides:
getParameterNames
in class javax.servlet.ServletRequestWrapper
getFileBytes
public byte[] getFileBytes(String name)
getFileInputStream
public InputStream getFileInputStream(String name)
getFileContentType
public String getFileContentType(String name)
getFileName
public String getFileName(String name)
getFileSize
public int getFileSize(String name)
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
getContentType
public String getContentType()
- Specified by:
getContentType
in interface javax.servlet.ServletRequest
- Overrides:
getContentType
in class javax.servlet.ServletRequestWrapper