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) resolveMultipartArgument
(String name, MethodParameter parameter, HttpServletRequest request) static @Nullable MultipartRequest
resolveMultipartRequest
(NativeWebRequest webRequest)
-
Field Details
-
UNRESOLVABLE
Indicates an unresolvable value.
-
-
Method Details
-
resolveMultipartRequest
-
isMultipartRequest
-
isMultipartArgument
-
resolveMultipartArgument
public static @Nullable Object resolveMultipartArgument(String name, MethodParameter parameter, HttpServletRequest request) throws Exception - Throws:
Exception
-