public interface ClientFactory
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientFactory.ContextAwareRESTErrorListener |
static interface |
ClientFactory.RemoteFunction<T,R> |
static interface |
ClientFactory.RemoteRunnable<T> |
Modifier and Type | Method and Description |
---|---|
<T> void |
executeWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteRunnable<T> toExecute)
Deprecated.
|
<T> <any> |
getAllResourceClients(java.lang.Class<T> clazz) |
<T> <any> |
getAllResourceClients(java.lang.Class<T> clazz,
<any> headers) |
<T> java.util.List<T> |
getAllResourceClients(java.lang.String className) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz,
<any> headers) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz,
com.lucidworks.apollo.security.AuthorizationContext authorizationContext) |
<T> <any> |
getResourceClient(java.lang.String className) |
<T> <any> |
getResourceClient(java.lang.String className,
<any> headers) |
<T> <any> |
getResourceClientWithQueryParams(java.lang.Class<T> clazz,
<any> queryParams) |
<T,R> R |
getWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteFunction<T,R> toExecute)
Deprecated.
|
<T> <any> getResourceClient(java.lang.Class<T> clazz)
<T> <any> getResourceClientWithQueryParams(java.lang.Class<T> clazz, <any> queryParams)
<T> <any> getResourceClient(java.lang.Class<T> clazz, com.lucidworks.apollo.security.AuthorizationContext authorizationContext)
<T> <any> getResourceClient(java.lang.Class<T> clazz, <any> headers)
<T> <any> getResourceClient(java.lang.String className) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> <any> getAllResourceClients(java.lang.Class<T> clazz)
<T> <any> getAllResourceClients(java.lang.Class<T> clazz, <any> headers)
<T> java.util.List<T> getAllResourceClients(java.lang.String className) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> <any> getResourceClient(java.lang.String className, <any> headers) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
@Deprecated <T,R> R getWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteFunction<T,R> toExecute) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
@Deprecated <T> void executeWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteRunnable<T> toExecute) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError