org.nuxeo.ecm.platform.ui.web.multipart
Class MultipartRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.jboss.seam.web.MultipartRequestImpl
org.nuxeo.ecm.platform.ui.web.multipart.MultipartRequest
- All Implemented Interfaces:
- HttpServletRequest, ServletRequest, org.jboss.seam.web.MultipartRequest
public class MultipartRequest
- extends org.jboss.seam.web.MultipartRequestImpl
Request wrapper for supporting multipart requests, used for file uploading.
- Author:
- Shane Bryzak
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getAuthType, getContextPath, getCookies, getDateHeader, 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 interface javax.servlet.http.HttpServletRequest |
getAuthType, getContextPath, getCookies, getDateHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole |
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 |
MultipartRequest
public MultipartRequest(HttpServletRequest request,
boolean createTempFiles,
int maxRequestSize)
cancel
public void cancel()
parseRequest
public void parseRequest()
getSize
public Integer getSize()
getParameterNames
public Enumeration getParameterNames()
- Specified by:
getParameterNames
in interface ServletRequest
- Overrides:
getParameterNames
in class org.jboss.seam.web.MultipartRequestImpl
getFileBytes
public byte[] getFileBytes(String name)
- Specified by:
getFileBytes
in interface org.jboss.seam.web.MultipartRequest
- Overrides:
getFileBytes
in class org.jboss.seam.web.MultipartRequestImpl
getFileInputStream
public InputStream getFileInputStream(String name)
- Specified by:
getFileInputStream
in interface org.jboss.seam.web.MultipartRequest
- Overrides:
getFileInputStream
in class org.jboss.seam.web.MultipartRequestImpl
getFileContentType
public String getFileContentType(String name)
- Specified by:
getFileContentType
in interface org.jboss.seam.web.MultipartRequest
- Overrides:
getFileContentType
in class org.jboss.seam.web.MultipartRequestImpl
getFile
public Object getFile(String name)
getFileName
public String getFileName(String name)
- Specified by:
getFileName
in interface org.jboss.seam.web.MultipartRequest
- Overrides:
getFileName
in class org.jboss.seam.web.MultipartRequestImpl
getFileSize
public int getFileSize(String name)
- Specified by:
getFileSize
in interface org.jboss.seam.web.MultipartRequest
- Overrides:
getFileSize
in class org.jboss.seam.web.MultipartRequestImpl
getParameter
public String getParameter(String name)
- Specified by:
getParameter
in interface ServletRequest
- Overrides:
getParameter
in class org.jboss.seam.web.MultipartRequestImpl
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValues
in interface ServletRequest
- Overrides:
getParameterValues
in class org.jboss.seam.web.MultipartRequestImpl
getParameterMap
public Map getParameterMap()
- Specified by:
getParameterMap
in interface ServletRequest
- Overrides:
getParameterMap
in class org.jboss.seam.web.MultipartRequestImpl
getHeader
public String getHeader(String name)
- Specified by:
getHeader
in interface HttpServletRequest
- Overrides:
getHeader
in class HttpServletRequestWrapper
stop
public void stop()
isStopped
public boolean isStopped()
isDone
public boolean isDone()
getContentType
public String getContentType()
- Specified by:
getContentType
in interface ServletRequest
- Overrides:
getContentType
in class ServletRequestWrapper
Copyright © 2011 Nuxeo SAS. All Rights Reserved.