public class ClientInvocationHandler extends BaseClient implements InvocationHandler
BaseClient.ResourceResponseHandler<T extends IBaseResource>HAPI_CLIENT_KEEPRESPONSES| 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() |
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()
getFhirContext in interface IRestfulClientCopyright © 2014–2018 University Health Network. All rights reserved.