Interface WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
- Type Parameters:
S- a self reference to the spec type
- All Known Subinterfaces:
WebClient.RequestBodyUriSpec,WebClient.RequestHeadersUriSpec<S>
- Enclosing interface:
- WebClient
public static interface WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>
Contract for specifying the URI for a request.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Suri(String uri, Object... uriVariables)Specify the URI for the request using a URI template and URI variables.Suri(String uri, Function<UriBuilder,URI> uriFunction)Specify the URI starting with a URI template and finishing off with aUriBuildercreated from the template.Suri(String uri, Map<String,?> uriVariables)Specify the URI for the request using a URI template and URI variables.Suri(URI uri)Specify the URI using an absolute, fully constructedURI.Suri(Function<UriBuilder,URI> uriFunction)Specify the URI by through aUriBuilder.
Method Detail
uri
S uri(String uri, Object... uriVariables)
Specify the URI for the request using a URI template and URI variables. If aUriBuilderFactorywas 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 aUriBuilderFactorywas 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 aUriBuildercreated from the template.- Since:
- 5.2
uri
S uri(Function<UriBuilder,URI> uriFunction)
Specify the URI by through aUriBuilder.- See Also:
uri(String, Function)