Class AbstractRestClientService
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.asyncproxy.AbstractAsyncProxyRemoteService
- 
- org.eclipse.ecf.remoteservice.AbstractRemoteService
- 
- org.eclipse.ecf.remoteservice.client.AbstractClientService
- 
- org.eclipse.ecf.remoteservice.rest.client.AbstractRestClientService
 
 
 
 
- 
- All Implemented Interfaces:
- InvocationHandler,- IRemoteService
 - Direct Known Subclasses:
- RestClientService
 
 public abstract class AbstractRestClientService extends AbstractClientService 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.ecf.remoteservice.client.AbstractClientServiceAbstractClientService.AsyncResult, AbstractClientService.UriRequest
 - 
Nested classes/interfaces inherited from class org.eclipse.ecf.remoteservice.AbstractRemoteServiceAbstractRemoteService.AsyncArgs, AbstractRemoteService.ProxyClassLoader
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.ecf.remoteservice.client.AbstractClientServicecontainer, registration
 - 
Fields inherited from class org.eclipse.ecf.remoteservice.AbstractRemoteServiceEMPTY_ARGS, futureExecutorService, futureExecutorServiceMaxThreads, iFutureExecutor
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractRestClientService(AbstractClientContainer container, RemoteServiceClientRegistration registration)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleException(String message, Throwable e, int responseCode)protected voidhandleException(String message, Throwable e, int responseCode, byte[] responseBody)protected voidlogException(String string, Throwable e)protected voidlogWarning(String string, Throwable e)protected voidtrace(String methodName, String message)- 
Methods inherited from class org.eclipse.ecf.remoteservice.client.AbstractClientServicecallAsync, callAsync, callAsync, callAsync, callSync, createUriRequest, fireAsync, getCallMethodNameForProxyInvoke, getCallParametersForProxyInvoke, getClientContainer, getInterfaceClassNames, getNextRequestID, getRegistration, getRemoteServiceID, getRemoteServiceReference, handleInvokeException, invokeRemoteCall, invokeSync, prepareEndpointAddress, prepareParameters, processResponse
 - 
Methods inherited from class org.eclipse.ecf.remoteservice.AbstractRemoteServiceaddAsyncProxyClasses, 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
 - 
Methods inherited from class org.eclipse.ecf.remoteservice.asyncproxy.AbstractAsyncProxyRemoteServicecallFuture, isReturnAsync
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractRestClientServicepublic AbstractRestClientService(AbstractClientContainer container, RemoteServiceClientRegistration registration) 
 
- 
 - 
Method Detail- 
logWarningprotected void logWarning(String string, Throwable e) - Overrides:
- logWarningin class- AbstractRemoteService
 
 - 
handleExceptionprotected void handleException(String message, Throwable e, int responseCode, byte[] responseBody) throws RestException - Throws:
- RestException
 
 - 
handleExceptionprotected void handleException(String message, Throwable e, int responseCode) throws RestException - Throws:
- RestException
 
 
- 
 
-