接口 WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
- 类型参数:
S
- a self reference to the spec type
- 封闭接口:
- WebClient
public static interface WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
Contract for specifying the URI for 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, Function<UriBuilder,URI> uriFunction)
Specify the URI starting with a URI template and finishing off with aUriBuilder
created from the template.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)
Specify the URI by through aUriBuilder
.
方法详细资料
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.
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.
uri
S uri(String uri, Function<UriBuilder,URI> uriFunction)
Specify the URI starting with a URI template and finishing off with aUriBuilder
created from the template.- 从以下版本开始:
- 5.2
uri
S uri(Function<UriBuilder,URI> uriFunction)
Specify the URI by through aUriBuilder
.