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