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
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 java.lang.Object |
resolveMultipartArgument(java.lang.String name,
MethodParameter parameter,
HttpServletRequest request) |
static MultipartRequest |
resolveMultipartRequest(NativeWebRequest webRequest) |
public static final java.lang.Object UNRESOLVABLE
@Nullable public static MultipartRequest resolveMultipartRequest(NativeWebRequest webRequest)
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