public interface MultipartHttpServletRequest extends HttpServletRequest, MultipartRequest
ServletRequest
methods for parameter access, making
multipart parameters available.
A concrete implementation is
DefaultMultipartHttpServletRequest
.
As an intermediate step,
AbstractMultipartHttpServletRequest
can be subclassed.
MultipartResolver
,
MultipartFile
,
ServletRequest.getParameter(java.lang.String)
,
ServletRequest.getParameterNames()
,
ServletRequest.getParameterMap()
,
DefaultMultipartHttpServletRequest
,
AbstractMultipartHttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
getMultipartHeaders(java.lang.String paramOrFileName)
Return the headers associated with the specified part of the multipart request.
|
HttpHeaders |
getRequestHeaders()
Return this request's headers as a convenient HttpHeaders instance.
|
HttpMethod |
getRequestMethod()
Return this request's method as a convenient HttpMethod instance.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, 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
getFile, getFileMap, getFileNames, getFiles, getMultiFileMap, getMultipartContentType
@Nullable HttpMethod getRequestMethod()
HttpHeaders getRequestHeaders()
@Nullable HttpHeaders getMultipartHeaders(java.lang.String paramOrFileName)
If the underlying implementation supports access to headers, then all headers are returned. Otherwise, the returned headers will include a 'Content-Type' header at the very least.