public abstract class MultipartResolutionDelegate
extends java.lang.Object
HandlerMethodArgumentResolver
implementations
which need to resolve MultipartFile
and Part
arguments.Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
UNRESOLVABLE |
Constructor and Description |
---|
MultipartResolutionDelegate() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isMultipartArgument(MethodParameter parameter) |
static boolean |
isMultipartRequest(HttpServletRequest request) |
static java.lang.Object |
resolveMultipartArgument(java.lang.String name,
MethodParameter parameter,
HttpServletRequest request) |
public static boolean isMultipartRequest(HttpServletRequest request)
public static boolean isMultipartArgument(MethodParameter parameter)
@Nullable public static java.lang.Object resolveMultipartArgument(java.lang.String name, MethodParameter parameter, HttpServletRequest request) throws java.lang.Exception
java.lang.Exception