public class SearchMethodBinding extends BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumALLOWED_PARAMS| Constructor and Description |
|---|
SearchMethodBinding(Class<? extends IBaseResource> theReturnResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
static BaseHttpClientInvocation |
createSearchInvocation(FhirContext theContext,
String theSearchUrl,
Map<String,List<String>> theParams) |
static BaseHttpClientInvocation |
createSearchInvocation(FhirContext theContext,
String theResourceName,
Map<String,List<String>> theParameters,
IIdType theId,
String theCompartmentName,
SearchStyleEnum theSearchStyle) |
String |
getDescription() |
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() |
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 IBaseResource> theReturnResourceType, Method theMethod, FhirContext theContext, Object theProvider)
public String getDescription()
protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic BaseHttpClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException
invokeClient in class BaseMethodBinding<Object>InternalErrorExceptionprotected boolean isAddContentLocationHeader()
BaseResourceReturningMethodBindingisAddContentLocationHeader in class BaseResourceReturningMethodBindingpublic static BaseHttpClientInvocation createSearchInvocation(FhirContext theContext, String theSearchUrl, Map<String,List<String>> theParams)
public static BaseHttpClientInvocation createSearchInvocation(FhirContext theContext, String theResourceName, Map<String,List<String>> theParameters, IIdType theId, String theCompartmentName, SearchStyleEnum theSearchStyle)
Copyright © 2014–2018 University Health Network. All rights reserved.