javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequestpublic interface HttpFileUploadRequest
extends javax.servlet.http.HttpServletRequest
| Modifier and Type | Method | Description |
|---|---|---|
UploadedFile |
getUploadedFile(String pName) |
Returns the value of a request parameter as an
UploadedFile,
or null if the parameter does not exist. |
UploadedFile[] |
getUploadedFiles(String pName) |
Returns an array of
UploadedFile objects containing all the
values for the given request parameter,
or null if the parameter does not exist. |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncUploadedFile getUploadedFile(String pName)
UploadedFile,
or null if the parameter does not exist.
You should only use this method when you are sure the parameter has only
one value.pName - the name of the requested parameterUoploadedFile or nullgetUploadedFiles(String)UploadedFile[] getUploadedFiles(String pName)
UploadedFile objects containing all the
values for the given request parameter,
or null if the parameter does not exist.pName - the name of the requested parameterUoploadedFiles or nullCopyright © 2018. All rights reserved.