public class TransactionMethodBinding extends BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumBaseMethodBinding.ActiveRequestReader, BaseMethodBinding.InactiveRequestReader, BaseMethodBinding.IRequestReaderALLOWED_PARAMS| Constructor and Description |
|---|
TransactionMethodBinding(Method theMethod,
FhirContext theConetxt,
Object theProvider) |
getMethodReturnType, getResourceName, invokeClient, invokeServer, invokeServer, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, getRestOperationType, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationpublic TransactionMethodBinding(Method theMethod, FhirContext theConetxt, Object theProvider)
public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
incomingServerRequestMatchesMethod in class BaseMethodBinding<Object>public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException
invokeClient in class BaseMethodBinding<Object>InternalErrorExceptionpublic Object invokeServer(IRestfulServer theServer, RequestDetails theRequest, Object[] theMethodParams) throws InvalidRequestException, InternalErrorException
invokeServer in class BaseResourceReturningMethodBindingInvalidRequestExceptionInternalErrorExceptionpublic static BaseHttpClientInvocation createTransactionInvocation(Bundle theBundle, FhirContext theContext)
public static BaseHttpClientInvocation createTransactionInvocation(IBaseBundle theBundle, FhirContext theContext)
public static BaseHttpClientInvocation createTransactionInvocation(List<? extends IBaseResource> theResources, FhirContext theContext)
public static BaseHttpClientInvocation createTransactionInvocation(String theRawBundle, FhirContext theContext)
Copyright © 2014–2016 University Health Network. All rights reserved.