public class SearchMethodBinding extends BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumALLOWED_PARAMS| Constructor and Description |
|---|
SearchMethodBinding(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theReturnResourceType,
Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
static BaseHttpClientInvocation |
createSearchInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theSearchUrl,
Map<String,List<String>> theParams) |
static BaseHttpClientInvocation |
createSearchInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theResourceName,
Map<String,List<String>> theParameters,
org.hl7.fhir.instance.model.api.IIdType theId,
String theCompartmentName,
ca.uhn.fhir.rest.api.SearchStyleEnum theSearchStyle) |
String |
getDescription() |
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() |
BaseResourceReturningMethodBinding.ReturnTypeEnum |
getReturnType() |
BaseHttpClientInvocation |
invokeClient(Object[] theArgs) |
protected boolean |
isAddContentLocationHeader()
Should the response include a Content-Location header.
|
String |
toString() |
getMethodReturnType, getResourceName, invokeClient, setResourceNamebindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationpublic SearchMethodBinding(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theReturnResourceType, Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
public String getDescription()
protected ca.uhn.fhir.model.valueset.BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic BaseHttpClientInvocation invokeClient(Object[] theArgs) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException
invokeClient in class BaseMethodBinding<Object>ca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionprotected boolean isAddContentLocationHeader()
BaseResourceReturningMethodBindingisAddContentLocationHeader in class BaseResourceReturningMethodBindingpublic static BaseHttpClientInvocation createSearchInvocation(ca.uhn.fhir.context.FhirContext theContext, String theSearchUrl, Map<String,List<String>> theParams)
public static BaseHttpClientInvocation createSearchInvocation(ca.uhn.fhir.context.FhirContext theContext, String theResourceName, Map<String,List<String>> theParameters, org.hl7.fhir.instance.model.api.IIdType theId, String theCompartmentName, ca.uhn.fhir.rest.api.SearchStyleEnum theSearchStyle)
Copyright © 2014–2019 University Health Network. All rights reserved.