Interface MultipartHttpServletRequest
- All Superinterfaces:
- HttpServletRequest,- MultipartRequest,- ServletRequest
- All Known Implementing Classes:
- AbstractMultipartHttpServletRequest,- DefaultMultipartHttpServletRequest,- MockMultipartHttpServletRequest,- StandardMultipartHttpServletRequest
Provides additional methods for dealing with multipart content within a
 servlet request, allowing to access uploaded files.
 
Implementations also need to override the standard
 ServletRequest methods for parameter access, making
 multipart parameters available.
 
A concrete implementation is
 DefaultMultipartHttpServletRequest.
 As an intermediate step,
 AbstractMultipartHttpServletRequest
 can be subclassed.
- Since:
- 29.09.2003
- Author:
- Juergen Hoeller, Trevor D. Cook
- See Also:
- 
Field SummaryFields inherited from interface jakarta.servlet.http.HttpServletRequestBASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
- 
Method SummaryModifier and TypeMethodDescriptiongetMultipartHeaders(String paramOrFileName) Return the headers for the specified part of the multipart request.Return this request's headers as a convenient HttpHeaders instance.Return this request's method as a convenient HttpMethod instance.Methods inherited from interface jakarta.servlet.http.HttpServletRequestauthenticate, 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, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradeMethods inherited from interface org.springframework.web.multipart.MultipartRequestgetFile, getFileMap, getFileNames, getFiles, getMultiFileMap, getMultipartContentTypeMethods inherited from interface jakarta.servlet.ServletRequestgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
- 
Method Details- 
getRequestMethodHttpMethod getRequestMethod()Return this request's method as a convenient HttpMethod instance.
- 
getRequestHeadersHttpHeaders getRequestHeaders()Return this request's headers as a convenient HttpHeaders instance.
- 
getMultipartHeadersReturn the headers for the specified part of the multipart request.If the underlying implementation supports access to part headers, then all headers are returned. Otherwise, for example, for a file upload, the returned headers may expose a 'Content-Type' if available. 
 
-