Polishing

(cherry picked from commit 0028b29)
This commit is contained in:
Juergen Hoeller
2016-12-01 19:09:26 +01:00
parent 300f2cd2dd
commit f6fc0a86b3
5 changed files with 11 additions and 14 deletions

View File

@@ -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
@@ -156,6 +156,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.