接口 WebTestClient.UriSpec<S extends WebTestClient.RequestHeadersSpec<?>>
- 类型参数:
S
- a self reference to the spec type
- 封闭接口:
- WebTestClient
public static interface WebTestClient.UriSpec<S extends WebTestClient.RequestHeadersSpec<?>>
Specification for providing the URI of a request.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 S
uri(String uri, Object... uriVariables)
Specify the URI for the request using a URI template and URI variables.S
uri(String uri, Map<String,?> uriVariables)
Specify the URI for the request using a URI template and URI variables.S
uri(URI uri)
Specify the URI using an absolute, fully constructedURI
.S
uri(Function<UriBuilder,URI> uriFunction)
Build the URI for the request with aUriBuilder
obtained through theUriBuilderFactory
configured for this client.
方法详细资料
uri
S uri(URI uri)
Specify the URI using an absolute, fully constructedURI
.- 返回:
- spec to add headers or perform the exchange
uri
S uri(String uri, Object... uriVariables)
Specify the URI for the request using a URI template and URI variables. If aUriBuilderFactory
was configured for the client (e.g. with a base URI) it will be used to expand the URI template.- 返回:
- spec to add headers or perform the exchange
uri
S uri(String uri, Map<String,?> uriVariables)
Specify the URI for the request using a URI template and URI variables. If aUriBuilderFactory
was configured for the client (e.g. with a base URI) it will be used to expand the URI template.- 返回:
- spec to add headers or perform the exchange
uri
S uri(Function<UriBuilder,URI> uriFunction)
Build the URI for the request with aUriBuilder
obtained through theUriBuilderFactory
configured for this client.- 返回:
- spec to add headers or perform the exchange