T - Type of the API to be handled.public static class ApiProvider.ApiWrapper<T> extends Object implements AutoCloseable
close() after they're
done with the API.| Constructor and Description |
|---|
ApiWrapper(Class<T> apiClass,
T api) |
ApiWrapper(Class<T> apiClass,
T api,
org.jboss.resteasy.client.jaxrs.ResteasyClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute(Consumer<T> function) |
<S> S |
execute(Function<T,S> function) |
Copyright © 2017. All rights reserved.