接口 WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>

类型参数:
S - a self reference to the spec type
所有已知子接口:
WebClient.RequestBodyUriSpec, WebClient.RequestHeadersUriSpec<S>
所有已知实现类:
DefaultWebClient.DefaultRequestBodyUriSpec
封闭接口:
WebClient

public static interface WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
Contract for specifying the URI for a request.
  • 方法概要

    修饰符和类型
    方法
    说明
    uri(String uri, Object... uriVariables)
    Specify the URI for the request using a URI template and URI variables.
    uri(String uri, Function<UriBuilder,URI> uriFunction)
    Specify the URI starting with a URI template and finishing off with a UriBuilder created from the template.
    uri(String uri, Map<String,?> uriVariables)
    Specify the URI for the request using a URI template and URI variables.
    uri(URI uri)
    Specify the URI using an absolute, fully constructed URI.
    uri(Function<UriBuilder,URI> uriFunction)
    Specify the URI by through a UriBuilder.
  • 方法详细资料

    • uri

      S uri(URI uri)
      Specify the URI using an absolute, fully constructed URI.
    • uri

      S uri(String uri, Object... uriVariables)
      Specify the URI for the request using a URI template and URI variables. If a UriBuilderFactory 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 a UriBuilderFactory 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 a UriBuilder created from the template.
      从以下版本开始:
      4.0
    • uri

      S uri(Function<UriBuilder,URI> uriFunction)
      Specify the URI by through a UriBuilder.
      另请参阅: