public class GenericClient extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GenericClient.Builder<I> |
Modifier and Type | Method and Description |
---|---|
static <I> I |
create(Class<I> serviceInterface,
String baseUrl)
Create a service client.
|
public static <I> I create(Class<I> serviceInterface, String baseUrl)
I
- the type of the service interfaceserviceInterface
- the interface implemented by the servicebaseUrl
- the base URL of the serviceCopyright © 2020 Red Hat. All rights reserved.