|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.ServletRequestWrapper javax.servlet.http.HttpServletRequestWrapper org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest info.magnolia.module.blossom.multipart.CompatibleAbstractMultipartHttpServletRequest
public abstract class CompatibleAbstractMultipartHttpServletRequest
As of version 3.0.0 Spring supports multiple multipart files with the same name. This changed the API introducing an incompatibility with implementations for earlier versions. This class uses reflection to use either the old API or the new API. It's used as a replacement for AbstractMultipartHttpServletRequest. The change was introduced with https://jira.springframework.org/browse/SPR-2784.
MultipartRequest
,
AbstractMultipartHttpServletRequest
Field Summary |
---|
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
protected |
CompatibleAbstractMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest request)
|
Method Summary | |
---|---|
protected void |
setSingleValueMultipartFiles(Map<String,org.springframework.web.multipart.MultipartFile> multipartFiles)
|
Methods inherited from class org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest |
---|
getFile, getFileMap, getFileNames, getMultipartFiles, initializeMultipart, setMultipartFiles |
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, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, 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.http.HttpServletRequest |
---|
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 interface javax.servlet.ServletRequest |
---|
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
Constructor Detail |
---|
protected CompatibleAbstractMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Method Detail |
---|
protected void setSingleValueMultipartFiles(Map<String,org.springframework.web.multipart.MultipartFile> multipartFiles) throws InvocationTargetException, InstantiationException, IllegalAccessException
InvocationTargetException
InstantiationException
IllegalAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |