public class OperationMethodBinding extends BaseResourceReturningMethodBinding
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationMethodBinding.ReturnType |
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumBaseMethodBinding.ActiveRequestReader, BaseMethodBinding.InactiveRequestReader, BaseMethodBinding.IRequestReaderALLOWED_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
boolean theIdempotent,
String theOperationName,
Class<? extends IBaseResource> theOperationType,
OperationParam[] theReturnParams) |
|
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
Operation theAnnotation) |
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, verifyMethodHasZeroOrOneOperationAnnotationprotected OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends IBaseResource> theReturnTypeFromRp, Method theMethod, FhirContext theContext, Object theProvider, boolean theIdempotent, String theOperationName, Class<? extends IBaseResource> theOperationType, OperationParam[] theReturnParams)
public OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends IBaseResource> theReturnTypeFromRp, Method theMethod, FhirContext theContext, Object theProvider, Operation theAnnotation)
public String getDescription()
public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic List<OperationMethodBinding.ReturnType> getReturnParams()
public 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 Object invokeServer(IRestfulServer theServer, RequestDetails theRequest, Object[] theMethodParams) throws BaseServerResponseException
invokeServer in class BaseResourceReturningMethodBindingBaseServerResponseExceptionpublic boolean isCanOperateAtInstanceLevel()
public boolean isCanOperateAtServerLevel()
public boolean isIdempotent()
public void setDescription(String theDescription)
public static BaseHttpClientInvocation createOperationInvocation(FhirContext theContext, String theResourceName, String theId, String theOperationName, IBaseParameters theInput, boolean theUseHttpGet)
Copyright © 2014–2016 University Health Network. All rights reserved.