public class HistoryMethodBinding extends BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumBaseMethodBinding.ActiveRequestReader, BaseMethodBinding.InactiveRequestReader, BaseMethodBinding.IRequestReaderALLOWED_PARAMS| Constructor and Description |
|---|
HistoryMethodBinding(Method theMethod,
FhirContext theConetxt,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
static HttpGetClientInvocation |
createHistoryInvocation(String theResourceName,
String theId,
IPrimitiveType<Date> theSince,
Integer theLimit) |
protected BundleTypeEnum |
getResponseBundleType()
If the response is a bundle, this type will be placed in the root of the bundle (can be null)
|
RestOperationTypeEnum |
getRestOperationType() |
BaseResourceReturningMethodBinding.ReturnTypeEnum |
getReturnType() |
boolean |
incomingServerRequestMatchesMethod(RequestDetails theRequest) |
BaseHttpClientInvocation |
invokeClient(Object[] theArgs) |
IBundleProvider |
invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
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 HistoryMethodBinding(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 IBundleProvider invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws InvalidRequestException, InternalErrorException
invokeServer in class BaseResourceReturningMethodBindingInvalidRequestExceptionInternalErrorExceptionpublic static HttpGetClientInvocation createHistoryInvocation(String theResourceName, String theId, IPrimitiveType<Date> theSince, Integer theLimit)
Copyright © 2014–2016 University Health Network. All rights reserved.