public class ClientInvocationHandler extends BaseClient implements InvocationHandler
BaseClient.ResourceOrBinaryResponseHandler, BaseClient.ResourceResponseHandler<T extends org.hl7.fhir.instance.model.api.IBaseResource>HAPI_CLIENT_KEEPRESPONSES| Constructor and Description |
|---|
ClientInvocationHandler(ca.uhn.fhir.rest.client.api.IHttpClient theClient,
ca.uhn.fhir.context.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) |
ca.uhn.fhir.context.FhirContext |
getFhirContext() |
Object |
invoke(Object theProxy,
Method theMethod,
Object[] theArgs) |
createExtraParams, fetchResourceFromUrl, getEncoding, getHttpClient, getInterceptorService, getLastResponse, getLastResponseBody, getServerBase, getSummary, getUrlBase, isKeepResponses, isPrettyPrint, registerInterceptor, setDontValidateConformance, setEncoding, setFormatParamStyle, setInterceptorService, setKeepResponses, setPrettyPrint, setSummary, unregisterInterceptorpublic ClientInvocationHandler(ca.uhn.fhir.rest.client.api.IHttpClient theClient, ca.uhn.fhir.context.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 ca.uhn.fhir.context.FhirContext getFhirContext()
getFhirContext in interface ca.uhn.fhir.rest.client.api.IRestfulClientCopyright © 2014–2019 University Health Network. All rights reserved.