Example usage for Java org.springframework.web.multipart MultipartHttpServletRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getContextPath() Returns the portion of the request URI that indicates the context of the request. |
MultipartFile | getFile(String name) Return the contents plus description of an uploaded file in this request, or null if it does not exist. |
Map | getFileMap() Return a java.util.Map of the multipart files contained in this request. |
Iterator | getFileNames() Return an java.util.Iterator of String objects containing the parameter names of the multipart files contained in this request. |
List | getFiles(String name) Return the contents plus description of uploaded files in this request, or an empty list if it does not exist. |
String | getHeader(String name) Returns the value of the specified request header as a String . |
Enumeration | getHeaderNames() Returns an enumeration of all the header names this request contains. |
String | getMethod() Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT. |
MultiValueMap | getMultiFileMap() Return a MultiValueMap of the multipart files contained in this request. |
String | getParameter(String name) Returns the value of a request parameter as a String , or null if the parameter does not exist. |
Map | getParameterMap() Returns a java.util.Map of the parameters of this request. |
Enumeration | getParameterNames() Returns an Enumeration of String objects containing the names of the parameters contained in this request. |
String[] | getParameterValues(String name) Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist. |
Collection | getParts() Gets all the Part components of this request, provided that it is of type multipart/form-data . |
String | getRemoteAddr() Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. |
String | getRequestURI() Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request. |
StringBuffer | getRequestURL() Reconstructs the URL the client used to make the request. |
HttpSession | getSession() Returns the current session associated with this request, or if the request does not have a session, creates one. |
void | setAttribute(String name, Object o) Stores an attribute in this request. |