
Package ca.uhn.fhir.rest.client.method
Class HistoryMethodBinding
java.lang.Object
ca.uhn.fhir.rest.client.method.BaseMethodBinding<Object>
ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.client.method.HistoryMethodBinding
- 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
ConstructorsConstructorDescriptionHistoryMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider) -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpGetClientInvocationcreateHistoryInvocation(ca.uhn.fhir.context.FhirContext theContext, String theResourceName, String theId, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theSince, Integer theLimit, ca.uhn.fhir.rest.param.DateRangeParam theAt, Integer theOffset) protected ca.uhn.fhir.model.valueset.BundleTypeEnumIf the response is a bundle, this type will be placed in the root of the bundle (can be null)ca.uhn.fhir.rest.api.RestOperationTypeEnuminvokeClient(Object[] theArgs) Methods inherited from class ca.uhn.fhir.rest.client.method.BaseResourceReturningMethodBinding
getMethodReturnType, getResourceName, invokeClient, isAddContentLocationHeader, setResourceNameMethods 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
-
HistoryMethodBinding
public HistoryMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
-
-
Method Details
-
getRestOperationType
- Specified by:
getRestOperationTypein classBaseMethodBinding<Object>
-
getResponseBundleType
Description copied from class:BaseResourceReturningMethodBindingIf the response is a bundle, this type will be placed in the root of the bundle (can be null)- Specified by:
getResponseBundleTypein classBaseResourceReturningMethodBinding
-
getReturnType
- Specified by:
getReturnTypein classBaseResourceReturningMethodBinding
-
invokeClient
public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException - Specified by:
invokeClientin classBaseMethodBinding<Object>- Throws:
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
-
createHistoryInvocation
public static HttpGetClientInvocation createHistoryInvocation(ca.uhn.fhir.context.FhirContext theContext, String theResourceName, String theId, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theSince, Integer theLimit, ca.uhn.fhir.rest.param.DateRangeParam theAt, Integer theOffset)
-