Package ca.uhn.fhir.rest.client.method
Class TransactionMethodBinding
java.lang.Object
ca.uhn.fhir.rest.client.method.BaseMethodBinding<Object>
ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.client.method.TransactionMethodBinding
- All Implemented Interfaces:
IClientResponseHandler<Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnum
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
ALLOWED_PARAMS
-
Constructor Summary
ConstructorDescriptionTransactionMethodBinding
(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider) -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseHttpClientInvocation
createTransactionInvocation
(String theRawBundle, ca.uhn.fhir.context.FhirContext theContext) static BaseHttpClientInvocation
createTransactionInvocation
(List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources, ca.uhn.fhir.context.FhirContext theContext) static BaseHttpClientInvocation
createTransactionInvocation
(org.hl7.fhir.instance.model.api.IBaseBundle theBundle, ca.uhn.fhir.context.FhirContext theContext) protected ca.uhn.fhir.model.valueset.BundleTypeEnum
If the response is a bundle, this type will be placed in the root of the bundle (can be null)ca.uhn.fhir.rest.api.RestOperationTypeEnum
invokeClient
(Object[] theArgs) Methods inherited from class ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
getMethodReturnType, getResourceName, invokeClient, isAddContentLocationHeader, setResourceName
Methods inherited from class ca.uhn.fhir.rest.client.method.BaseMethodBinding
bindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotation
-
Constructor Details
-
TransactionMethodBinding
public TransactionMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
-
-
Method Details
-
getRestOperationType
- Specified by:
getRestOperationType
in classBaseMethodBinding<Object>
-
getResponseBundleType
Description copied from class:BaseResourceReturningMethodBinding
If the response is a bundle, this type will be placed in the root of the bundle (can be null)- Specified by:
getResponseBundleType
in classBaseResourceReturningMethodBinding
-
getReturnType
- Specified by:
getReturnType
in classBaseResourceReturningMethodBinding
-
invokeClient
public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException - Specified by:
invokeClient
in classBaseMethodBinding<Object>
- Throws:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
-
createTransactionInvocation
public static BaseHttpClientInvocation createTransactionInvocation(org.hl7.fhir.instance.model.api.IBaseBundle theBundle, ca.uhn.fhir.context.FhirContext theContext) -
createTransactionInvocation
public static BaseHttpClientInvocation createTransactionInvocation(List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources, ca.uhn.fhir.context.FhirContext theContext) -
createTransactionInvocation
public static BaseHttpClientInvocation createTransactionInvocation(String theRawBundle, ca.uhn.fhir.context.FhirContext theContext)
-