Example usage for Java org.springframework.mock.web MockMultipartFile fields, constructors, methods, implement or subclass
The text is from its open source code.
MockMultipartFile(String name, @Nullable String originalFilename, @Nullable String contentType, @Nullable byte[] content) Create a new MockMultipartFile with the given content. | |
MockMultipartFile(String name, @Nullable String originalFilename, @Nullable String contentType, InputStream contentStream) Create a new MockMultipartFile with the given content. | |
MockMultipartFile(String name, @Nullable byte[] content) Create a new MockMultipartFile with the given content. | |
MockMultipartFile(String name, InputStream contentStream) Create a new MockMultipartFile with the given content. |
byte[] | getBytes() |
String | getOriginalFilename() |