Package ca.uhn.fhir.rest.client.impl
Class ClientInvocationHandler
java.lang.Object
ca.uhn.fhir.rest.client.impl.BaseClient
ca.uhn.fhir.rest.client.impl.ClientInvocationHandler
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IRestfulClient
,InvocationHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.client.impl.BaseClient
BaseClient.ResourceOrBinaryResponseHandler, BaseClient.ResourceResponseHandler<T extends org.hl7.fhir.instance.model.api.IBaseResource>
-
Constructor Summary
ConstructorDescriptionClientInvocationHandler
(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) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(Method theMethod, BaseMethodBinding<?> theBinding) ca.uhn.fhir.context.FhirContext
Methods inherited from class ca.uhn.fhir.rest.client.impl.BaseClient
createExtraParams, fetchResourceFromUrl, getEncoding, getHttpClient, getInterceptorService, getLastResponse, getLastResponseBody, getServerBase, getSummary, getUrlBase, invokeClient, invokeClient, invokeClient, isKeepResponses, isPrettyPrint, registerInterceptor, setDontValidateConformance, setEncoding, setFormatParamStyle, setInterceptorService, setKeepResponses, setPrettyPrint, setSummary, unregisterInterceptor
-
Constructor Details
-
ClientInvocationHandler
public 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)
-
-
Method Details
-
addBinding
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getFhirContext
- Specified by:
getFhirContext
in interfaceca.uhn.fhir.rest.client.api.IRestfulClient
-