@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(java.net.URI uri)
Create a new REST client instance.
|
RestClient createRestClient(java.net.URI uri)
uri
- The URI to the REST service endpoint.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0