public interface UriBuilderFactory extends UriTemplateHandler
UriBuilder
.
A single UriBuilderFactory
may be created once, configured with
common properties such as a base URI, and then used to create many URIs.
Extends UriTemplateHandler
which has a similar purpose but only
provides shortcuts for expanding URI templates, not builder style methods.
Modifier and Type | Method and Description |
---|---|
UriBuilder |
builder()
Return a builder to prepare a new URI.
|
UriBuilder |
uriString(java.lang.String uriTemplate)
Return a builder initialized with the given URI string.
|
expand, expand
UriBuilder uriString(java.lang.String uriTemplate)
Concrete implementations may apply further initializations such as combining with a pre-configured base URI.
uriTemplate
- the URI template to initialize the builder withUriBuilder builder()