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