接口 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.
-
方法概要
修饰符和类型方法说明Specify the URI for the request using a URI template and URI variables.Specify the URI for the request using a URI template and URI variables.Specify the URI using an absolute, fully constructedURI.Build the URI for the request with aUriBuilderobtained through theUriBuilderFactoryconfigured for this client.
-
方法详细资料
-
uri
Specify the URI using an absolute, fully constructedURI.If a
UriBuilderFactorywas configured for the client with a base URI, that base URI will not be applied to the suppliedjava.net.URI. If you wish to have a base URI applied to ajava.net.URIyou must invoke eitheruri(String, Object...)oruri(String, Map)— for example,uri(myUri.toString()).- 返回:
- spec to add headers or perform the exchange
-
uri
Specify the URI for the request using a URI template and URI variables.If a
UriBuilderFactorywas 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
Specify the URI for the request using a URI template and URI variables.If a
UriBuilderFactorywas 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
Build the URI for the request with aUriBuilderobtained through theUriBuilderFactoryconfigured for this client.- 返回:
- spec to add headers or perform the exchange
-