org.springframework.web.multipart.support

Class MultipartResolutionDelegate

  • java.lang.Object
    • org.springframework.web.multipart.support.MultipartResolutionDelegate


  • public abstract class MultipartResolutionDelegate
    extends java.lang.Object
    A common delegate for HandlerMethodArgumentResolver implementations which need to resolve MultipartFile and Part arguments.
    Since:
    4.3
    Author:
    Juergen Hoeller
    • Field Detail

      • UNRESOLVABLE

        public static final java.lang.Object UNRESOLVABLE
        Indicates an unresolvable value.
    • Constructor Detail

      • MultipartResolutionDelegate

        public MultipartResolutionDelegate()
    • Method Detail

      • isMultipartRequest

        public static boolean isMultipartRequest(HttpServletRequest request)
      • isMultipartArgument

        public static boolean isMultipartArgument(MethodParameter parameter)
      • resolveMultipartArgument

        @Nullable
        public static java.lang.Object resolveMultipartArgument(java.lang.String name,
                                                                          MethodParameter parameter,
                                                                          HttpServletRequest request)
                                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception