public class ReadMethodBinding extends BaseResourceReturningMethodBinding implements IClientResponseHandlerHandlesBinary<Object>
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumALLOWED_PARAMS| Constructor and Description |
|---|
ReadMethodBinding(Class<? extends IBaseResource> theAnnotatedResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
getMethodReturnType, getResourceName, invokeClient, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeClientpublic ReadMethodBinding(Class<? extends IBaseResource> theAnnotatedResourceType, Method theMethod, FhirContext theContext, Object theProvider)
public List<Class<?>> getAllowableParamAnnotations()
getAllowableParamAnnotations in class BaseMethodBinding<Object>public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic HttpGetClientInvocation invokeClient(Object[] theArgs)
invokeClient in class BaseMethodBinding<Object>public Object invokeClient(String theResponseMimeType, InputStream theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws IOException, BaseServerResponseException
invokeClient in interface IClientResponseHandlerHandlesBinary<Object>IOExceptionBaseServerResponseExceptionpublic boolean isBinary()
IClientResponseHandlerHandlesBinaryIClientResponseHandlerHandlesBinary.invokeClient(String, InputStream, int, Map) should be invoked instead of IClientResponseHandler.invokeClient(String, Reader, int, Map)isBinary in interface IClientResponseHandlerHandlesBinary<Object>public boolean isVread()
public static HttpGetClientInvocation createAbsoluteReadInvocation(FhirContext theContext, IIdType theId)
public static HttpGetClientInvocation createAbsoluteVReadInvocation(FhirContext theContext, IIdType theId)
public static HttpGetClientInvocation createReadInvocation(FhirContext theContext, IIdType theId, String theResourceName)
public static HttpGetClientInvocation createVReadInvocation(FhirContext theContext, IIdType theId, String theResourceName)
protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingCopyright © 2014–2018 University Health Network. All rights reserved.