public class ReadMethodBinding extends BaseResourceReturningMethodBinding implements IClientResponseHandlerHandlesBinary<Object>
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumBaseMethodBinding.ActiveRequestReader, BaseMethodBinding.InactiveRequestReader, BaseMethodBinding.IRequestReaderALLOWED_PARAMS| Constructor and Description |
|---|
ReadMethodBinding(Class<? extends IBaseResource> theAnnotatedResourceType,
Method theMethod,
FhirContext theContext,
Object theProvider) |
getMethodReturnType, getResourceName, invokeClient, invokeServer, invokeServer, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createParametersForServerRequest, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, invokeServerMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeClientpublic ReadMethodBinding(Class<? extends IBaseResource> theAnnotatedResourceType, Method theMethod, FhirContext theContext, Object theProvider)
public RestOperationTypeEnum getRestOperationType(RequestDetails theRequestDetails)
BaseMethodBindinggetRestOperationType in class BaseMethodBinding<Object>theRequestDetails - The requestpublic List<Class<?>> getAllowableParamAnnotations()
getAllowableParamAnnotations in class BaseMethodBinding<Object>public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
incomingServerRequestMatchesMethod in class BaseMethodBinding<Object>public 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 IBundleProvider invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws InvalidRequestException, InternalErrorException
invokeServer in class BaseResourceReturningMethodBindingInvalidRequestExceptionInternalErrorExceptionpublic 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(IIdType theId)
public static HttpGetClientInvocation createAbsoluteVReadInvocation(IIdType theId)
public static HttpGetClientInvocation createReadInvocation(IIdType theId, String theResourceName)
public static HttpGetClientInvocation createVReadInvocation(IIdType theId, String theResourceName)
protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingCopyright © 2014–2016 University Health Network. All rights reserved.