We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7e4edf + 2fb3ede commit a19aef7Copy full SHA for a19aef7
docs/src/docs/asciidoc/configuration.adoc
@@ -34,6 +34,9 @@ to change one or more of the defaults to suit your needs:
34
include::{examples-dir}/com/example/mockmvc/CustomUriConfiguration.java[tags=custom-uri-configuration]
35
----
36
37
+NOTE: If the port is set to the default for the configured scheme (port 80 for HTTP or
38
+port 443 for HTTPS), it will be omitted from any URIs in the generated snippets.
39
+
40
TIP: To configure a request's context path, use the `contextPath` method on
41
`MockHttpServletRequestBuilder`.
42
0 commit comments