Uses of Class
org.springframework.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Uses of MockMultipartHttpServletRequestBuilder in org.springframework.test.web.servlet.request
Modifier and TypeMethodDescriptionCreate a new MockMultipartFile with the given content.MockMultipartHttpServletRequestBuilder.file
(MockMultipartFile file) Add the given MockMultipartFile.Create aMockMultipartHttpServletRequestBuilder
for a multipart request, using POST as the HTTP method.Variant ofMockMvcRequestBuilders.multipart(String, Object...)
with aURI
.MockMvcRequestBuilders.multipart
(HttpMethod httpMethod, String urlTemplate, Object... uriVariables) Variant ofMockMvcRequestBuilders.multipart(String, Object...)
that also accepts anHttpMethod
.MockMvcRequestBuilders.multipart
(HttpMethod httpMethod, URI uri) AddPart
components to the request.