public class ReadMethodBinding extends BaseResourceReturningMethodBinding implements IClientResponseHandlerHandlesBinary<Object>
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumALLOWED_PARAMS| Constructor and Description |
|---|
ReadMethodBinding(Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theAnnotatedResourceType,
Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
static HttpGetClientInvocation |
createAbsoluteReadInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IIdType theId) |
static HttpGetClientInvocation |
createAbsoluteVReadInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IIdType theId) |
static HttpGetClientInvocation |
createReadInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IIdType theId,
String theResourceName) |
static HttpGetClientInvocation |
createVReadInvocation(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IIdType theId,
String theResourceName) |
List<Class<?>> |
getAllowableParamAnnotations() |
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() |
HttpGetClientInvocation |
invokeClient(Object[] theArgs) |
Object |
invokeClientForBinary(String theResponseMimeType,
InputStream theResponseReader,
int theResponseStatusCode,
Map<String,List<String>> theHeaders) |
boolean |
isBinary()
If this method returns true,
IClientResponseHandler.invokeClient(String, InputStream, int, Map) should be invoked instead of #invokeClient(String, Reader, int, Map) |
boolean |
isVread() |
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 org.hl7.fhir.instance.model.api.IBaseResource> theAnnotatedResourceType, Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
public List<Class<?>> getAllowableParamAnnotations()
getAllowableParamAnnotations in class BaseMethodBinding<Object>public ca.uhn.fhir.rest.api.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 invokeClientForBinary(String theResponseMimeType, InputStream theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws IOException, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
invokeClientForBinary in interface IClientResponseHandlerHandlesBinary<Object>IOExceptionca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionpublic boolean isBinary()
IClientResponseHandlerHandlesBinaryIClientResponseHandler.invokeClient(String, InputStream, int, Map) should be invoked instead of #invokeClient(String, Reader, int, Map)isBinary in interface IClientResponseHandlerHandlesBinary<Object>public boolean isVread()
public static HttpGetClientInvocation createAbsoluteReadInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId)
public static HttpGetClientInvocation createAbsoluteVReadInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId)
public static HttpGetClientInvocation createReadInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, String theResourceName)
public static HttpGetClientInvocation createVReadInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, String theResourceName)
protected ca.uhn.fhir.model.valueset.BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingCopyright © 2014–2019 University Health Network. All rights reserved.