public class ClientInvocationHandler extends BaseClient implements InvocationHandler
BaseClient.ResourceResponseHandler<T extends IBaseResource>| Constructor and Description |
|---|
ClientInvocationHandler(IHttpClient theClient,
FhirContext theContext,
String theUrlBase,
Map<Method,Object> theMethodToReturnValue,
Map<Method,BaseMethodBinding<?>> theBindings,
Map<Method,ClientInvocationHandlerFactory.ILambda> theMethodToLambda,
RestfulClientFactory theFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(Method theMethod,
BaseMethodBinding<?> theBinding) |
FhirContext |
getFhirContext()
Returns the FHIR context associated with this client
|
Object |
invoke(Object theProxy,
Method theMethod,
Object[] theArgs) |
createExtraParams, fetchResourceFromUrl, getEncoding, getHttpClient, getInterceptors, getLastResponse, getLastResponseBody, getServerBase, getSummary, getUrlBase, isKeepResponses, isPrettyPrint, registerInterceptor, setDontValidateConformance, setEncoding, setKeepResponses, setPrettyPrint, setSummary, unregisterInterceptorpublic ClientInvocationHandler(IHttpClient theClient, FhirContext theContext, String theUrlBase, Map<Method,Object> theMethodToReturnValue, Map<Method,BaseMethodBinding<?>> theBindings, Map<Method,ClientInvocationHandlerFactory.ILambda> theMethodToLambda, RestfulClientFactory theFactory)
public void addBinding(Method theMethod, BaseMethodBinding<?> theBinding)
public Object invoke(Object theProxy, Method theMethod, Object[] theArgs) throws Throwable
invoke in interface InvocationHandlerThrowablepublic FhirContext getFhirContext()
IRestfulClientgetFhirContext in interface IRestfulClientCopyright © 2014–2017 University Health Network. All rights reserved.