javax.servlet.http.HttpServletRequest
, javax.servlet.ServletRequest
public 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, upgrade
getAsyncContext, 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, startAsync
UploadedFile 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 null
getUploadedFiles(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 parameterUoploadedFile
s or null
Copyright © 2018. All rights reserved.