Class MultipartResolutionDelegate
java.lang.Object
org.springframework.web.multipart.support.MultipartResolutionDelegate
A common delegate for
HandlerMethodArgumentResolver
implementations
which need to resolve MultipartFile
and Part
arguments.- Since:
- 4.3
- Author:
- Juergen Hoeller
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isMultipartArgument
(MethodParameter parameter) static boolean
isMultipartRequest
(HttpServletRequest request) static Object
resolveMultipartArgument
(String name, MethodParameter parameter, HttpServletRequest request) static MultipartRequest
resolveMultipartRequest
(NativeWebRequest webRequest)
-
Field Details
-
UNRESOLVABLE
Indicates an unresolvable value.
-
-
Method Details
-
resolveMultipartRequest
-
isMultipartRequest
-
isMultipartArgument
-
resolveMultipartArgument
@Nullable public static Object resolveMultipartArgument(String name, MethodParameter parameter, HttpServletRequest request) throws Exception - Throws:
Exception
-