|
|
|
|
@ -66,9 +66,9 @@ import org.springframework.web.util.UriUtils;
@@ -66,9 +66,9 @@ import org.springframework.web.util.UriUtils;
|
|
|
|
|
* |
|
|
|
|
* <p>Application tests will typically access this builder through the static factory |
|
|
|
|
* methods in {@link MockMvcRequestBuilders}. |
|
|
|
|
* <p>Although this class cannot be extended, additional ways to initialize |
|
|
|
|
* the {@code MockHttpServletRequest} can be plugged in via |
|
|
|
|
* {@link #with(RequestPostProcessor)}. |
|
|
|
|
* |
|
|
|
|
* <p>Although this class cannot be extended, additional ways to initialize the |
|
|
|
|
* {@code MockHttpServletRequest} can be plugged in via {@link #with(RequestPostProcessor)}. |
|
|
|
|
* |
|
|
|
|
* @author Rossen Stoyanchev |
|
|
|
|
* @author Arjen Poutsma |
|
|
|
|
@ -159,6 +159,7 @@ public class MockHttpServletRequestBuilder
@@ -159,6 +159,7 @@ public class MockHttpServletRequestBuilder
|
|
|
|
|
this.url = url; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Add a request parameter to the {@link MockHttpServletRequest}. |
|
|
|
|
* <p>If called more than once, new values get added to existing ones. |
|
|
|
|
|