public class ReadMethodBinding extends BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ReturnTypeEnum| Constructor and Description |
|---|
ReadMethodBinding(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theAnnotatedResourceType,
Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
getAllowableParamAnnotations() |
protected ca.uhn.fhir.model.valueset.BundleTypeEnum |
getResponseBundleType()
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 |
getRestOperationType() |
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
getRestOperationType(RequestDetails theRequestDetails)
Determine which operation is being fired for a specific request
|
BaseResourceReturningMethodBinding.ReturnTypeEnum |
getReturnType() |
boolean |
incomingServerRequestMatchesMethod(RequestDetails theRequest) |
IBundleProvider |
invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
boolean |
isVread() |
doInvokeServer, getMethodReturnType, getResourceName, invokeServer, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createMethodParams, createParametersForServerRequest, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, invokeServerMethod, isGlobalMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationpublic ReadMethodBinding(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theAnnotatedResourceType, Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType(RequestDetails theRequestDetails)
BaseMethodBindinggetRestOperationType in class BaseMethodBinding<Object>theRequestDetails - The requestpublic List<Class<?>> getAllowableParamAnnotations()
getAllowableParamAnnotations in class BaseMethodBinding<Object>@Nonnull public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
incomingServerRequestMatchesMethod in class BaseMethodBinding<Object>public IBundleProvider invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws ca.uhn.fhir.rest.server.exceptions.InvalidRequestException, ca.uhn.fhir.rest.server.exceptions.InternalErrorException
invokeServer in class BaseResourceReturningMethodBindingca.uhn.fhir.rest.server.exceptions.InvalidRequestExceptionca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionpublic boolean isVread()
protected ca.uhn.fhir.model.valueset.BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingCopyright © 2014–2019 University Health Network. All rights reserved.