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
Indicates an unresolvable value.
|
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) |
static MultipartRequest |
resolveMultipartRequest(NativeWebRequest webRequest) |
public static final Object UNRESOLVABLE
@Nullable public static MultipartRequest resolveMultipartRequest(NativeWebRequest webRequest)
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