com.liferay.util.servlet
Class UploadServletRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.liferay.util.servlet.UploadServletRequest
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
- public class UploadServletRequest
- extends javax.servlet.http.HttpServletRequestWrapper
View Source
- Author:
- Brian Wing Shun Chan, Zongliang Li, Harry Mark
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
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, getContentType, 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 |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
DEFAULT_SIZE_MAX
public static final int DEFAULT_SIZE_MAX
DEFAULT_TEMP_DIR
public static final java.io.File DEFAULT_TEMP_DIR
UploadServletRequest
public UploadServletRequest(javax.servlet.http.HttpServletRequest req)
throws java.io.IOException
getContentType
public java.lang.String getContentType(java.lang.String name)
getFile
public java.io.File getFile(java.lang.String name)
getFileName
public java.lang.String getFileName(java.lang.String name)
getFullFileName
public java.lang.String getFullFileName(java.lang.String name)
getInputStream
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getParameter
public java.lang.String getParameter(java.lang.String name)
getParameterMap
public java.util.Map getParameterMap()
getParameterNames
public java.util.Enumeration getParameterNames()
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
getMultipartParameterMap
public java.util.Map getMultipartParameterMap()
isFormField
public java.lang.Boolean isFormField(java.lang.String name)
cleanUp
public void cleanUp()