public abstract class AbstractRestClientService extends AbstractClientService
AbstractClientService.AsyncResult, AbstractClientService.UriRequest
AbstractRemoteService.AsyncArgs, AbstractRemoteService.ProxyClassLoader
container, registration
EMPTY_ARGS, futureExecutorService, futureExecutorServiceMaxThreads, iFutureExecutor
Constructor and Description |
---|
AbstractRestClientService(AbstractClientContainer container,
RemoteServiceClientRegistration registration) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleException(String message,
Throwable e,
int responseCode) |
protected void |
handleException(String message,
Throwable e,
int responseCode,
byte[] responseBody) |
protected void |
logException(String string,
Throwable e) |
protected void |
logWarning(String string,
Throwable e) |
protected void |
trace(String methodName,
String message) |
callAsync, callAsync, callAsync, callAsync, callSync, createUriRequest, fireAsync, getCallMethodNameForProxyInvoke, getCallParametersForProxyInvoke, getClientContainer, getInterfaceClassNames, getNextRequestID, getRegistration, getRemoteServiceID, getRemoteServiceReference, handleInvokeException, invokeRemoteCall, invokeSync, prepareEndpointAddress, prepareParameters, processResponse
addAsyncProxyClasses, addRemoteServiceProxyToProxy, callAsync, callAsync, callAsyncWithResult, callAsyncWithTimeout, callAsyncWithTimeout, callCompletableAsync, callFutureAsync, callFutureAsync, callSync, convertInterfaceNameToAsyncInterfaceName, createProxy, createProxy, createRCCE, createRCCEFailure, createRCCESuccess, createRemoteCall, dispose, findAsyncRemoteServiceProxyClass, findAsyncRemoteServiceProxyClass, getAsyncArgs, getAsyncInvokeMethodName, getAsyncRemoteCall, getCallTimeoutForProxyInvoke, getDefaultTimeout, getFutureExecutorService, getIFutureExecutor, getProxy, getProxy, getRemoteService, getRemoteServiceProxyCreator, handleInvokeSyncException, handleProxyException, invoke, invokeAsync, invokeObject, invokeReturnAsync, isAsync, isInterfaceAsync, isMethodAsync, isOSGIAsync, loadInterfaceClass, loadInterfaceClass, setFutureExecutorService, setIFutureExecutor
callFuture, isReturnAsync
public AbstractRestClientService(AbstractClientContainer container, RemoteServiceClientRegistration registration)
protected void logWarning(String string, Throwable e)
logWarning
in class AbstractRemoteService
protected void handleException(String message, Throwable e, int responseCode, byte[] responseBody) throws RestException
RestException
protected void handleException(String message, Throwable e, int responseCode) throws RestException
RestException
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.