public static interface WebTestClient.UriSpec<S extends WebTestClient.RequestHeadersSpec<?>>
Modifier and Type | Method and Description |
---|---|
S |
uri(java.util.function.Function<UriBuilder,java.net.URI> uriFunction)
Build the URI for the request with a
UriBuilder obtained
through the UriBuilderFactory configured for this client. |
S |
uri(java.lang.String uri,
java.util.Map<java.lang.String,?> uriVariables)
Specify the URI for the request using a URI template and URI variables.
|
S |
uri(java.lang.String uri,
java.lang.Object... uriVariables)
Specify the URI for the request using a URI template and URI variables.
|
S |
uri(java.net.URI uri)
Specify the URI using an absolute, fully constructed
URI . |
S uri(java.net.URI uri)
URI
.S uri(java.lang.String uri, java.lang.Object... uriVariables)
UriBuilderFactory
was configured for the client (e.g.
with a base URI) it will be used to expand the URI template.S uri(java.lang.String uri, java.util.Map<java.lang.String,?> uriVariables)
UriBuilderFactory
was configured for the client (e.g.
with a base URI) it will be used to expand the URI template.S uri(java.util.function.Function<UriBuilder,java.net.URI> uriFunction)
UriBuilder
obtained
through the UriBuilderFactory
configured for this client.