public class SearchMethodBinding extends BaseResourceReturningMethodBinding
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchMethodBinding.QualifierDetails |
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumBaseMethodBinding.ActiveRequestReader, BaseMethodBinding.InactiveRequestReader, BaseMethodBinding.IRequestReaderALLOWED_PARAMS| Constructor and Description |
|---|
SearchMethodBinding(Class<? extends IBaseResource> theReturnResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
getMethodReturnType, getResourceName, invokeClient, invokeServer, invokeServer, setResourceNamebindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, getRestOperationType, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationpublic SearchMethodBinding(Class<? extends IBaseResource> theReturnResourceType, Method theMethod, FhirContext theContext, Object theProvider)
public String getDescription()
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 BaseResourceReturningMethodBindingInvalidRequestExceptionInternalErrorExceptionprotected boolean isAddContentLocationHeader()
BaseResourceReturningMethodBindingisAddContentLocationHeader in class BaseResourceReturningMethodBindingpublic static BaseHttpClientInvocation createSearchInvocation(FhirContext theContext, String theResourceName, Map<String,List<String>> theParameters, IdDt theId, String theCompartmentName, SearchStyleEnum theSearchStyle)
public static SearchMethodBinding.QualifierDetails extractQualifiersFromParameterName(String theParamName)
public static BaseHttpClientInvocation createSearchInvocation(String theSearchUrl, Map<String,List<String>> theParams)
Copyright © 2014–2016 University Health Network. All rights reserved.