@ProviderType public interface RestClientFactory
Implementations can choose to extend this interface to add additional creation methods, where additional arguments are needed for request signing, etc.
In OSGi environments, this factory is registered as a service.
Modifier and Type | Method and Description |
---|---|
RestClient |
createRestClient(URI uri)
Create a new REST client instance.
|
RestClient createRestClient(URI uri)
uri
- The URI to the REST service endpoint.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0