Class MultipartHttpInputMessage

java.lang.Object
org.springframework.http.server.ServletServerHttpRequest
org.springframework.integration.http.multipart.MultipartHttpInputMessage
All Implemented Interfaces:
org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage, org.springframework.http.HttpRequest, org.springframework.http.server.ServerHttpRequest, org.springframework.web.multipart.MultipartRequest

public class MultipartHttpInputMessage extends org.springframework.http.server.ServletServerHttpRequest implements org.springframework.web.multipart.MultipartRequest
Since:
2.0
  • Field Summary

    Fields inherited from class org.springframework.http.server.ServletServerHttpRequest

    FORM_CHARSET
  • Constructor Summary

    Constructors
    Constructor
    Description
    MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.multipart.MultipartFile
     
    Map<String,org.springframework.web.multipart.MultipartFile>
     
     
    List<org.springframework.web.multipart.MultipartFile>
     
    org.springframework.util.MultiValueMap<String,org.springframework.web.multipart.MultipartFile>
     
     
     

    Methods inherited from class org.springframework.http.server.ServletServerHttpRequest

    getAsyncRequestControl, getBody, getHeaders, getLocalAddress, getMethod, getPrincipal, getRemoteAddress, getServletRequest, getURI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.http.HttpRequest

    getMethodValue
  • Constructor Details

    • MultipartHttpInputMessage

      public MultipartHttpInputMessage(org.springframework.web.multipart.MultipartHttpServletRequest multipartServletRequest)
  • Method Details

    • getFile

      public org.springframework.web.multipart.MultipartFile getFile(String name)
      Specified by:
      getFile in interface org.springframework.web.multipart.MultipartRequest
    • getFileMap

      public Map<String,org.springframework.web.multipart.MultipartFile> getFileMap()
      Specified by:
      getFileMap in interface org.springframework.web.multipart.MultipartRequest
    • getMultiFileMap

      public org.springframework.util.MultiValueMap<String,org.springframework.web.multipart.MultipartFile> getMultiFileMap()
      Specified by:
      getMultiFileMap in interface org.springframework.web.multipart.MultipartRequest
    • getFileNames

      public Iterator<String> getFileNames()
      Specified by:
      getFileNames in interface org.springframework.web.multipart.MultipartRequest
    • getFiles

      public List<org.springframework.web.multipart.MultipartFile> getFiles(String name)
      Specified by:
      getFiles in interface org.springframework.web.multipart.MultipartRequest
    • getParameterMap

      public Map getParameterMap()
    • getMultipartContentType

      public String getMultipartContentType(String paramOrFileName)
      Specified by:
      getMultipartContentType in interface org.springframework.web.multipart.MultipartRequest