public class UpdateMethodBinding extends BaseMethodBinding<MethodOutcome>
| Constructor and Description |
|---|
UpdateMethodBinding(Method theMethod,
FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowVoidReturnType()
Subclasses may override to allow a void method return type, which is allowable for some methods (e.g.
|
protected BaseHttpClientInvocation |
createClientInvocation(Object[] theArgs,
IBaseResource theResource) |
protected String |
getMatchingOperation()
For servers, this method will match only incoming requests that match the given operation, or which have no
operation in the URL if this method returns null.
|
String |
getResourceName()
Returns the name of the resource this method handles, or
null if this method is not resource specific |
RestOperationTypeEnum |
getRestOperationType() |
BaseHttpClientInvocation |
invokeClient(Object[] theArgs) |
MethodOutcome |
invokeClient(String theResponseMimeType,
Reader theResponseReader,
int theResponseStatusCode,
Map<String,List<String>> theHeaders) |
boolean |
isReturnVoid() |
protected static void |
parseContentLocation(FhirContext theContext,
MethodOutcome theOutcomeToPopulate,
String theLocationHeader) |
protected Set<RequestTypeEnum> |
provideAllowableRequestTypes() |
protected void |
validateResourceIdAndUrlIdForNonConditionalOperation(IBaseResource theResource,
String theResourceId,
String theUrlId,
String theMatchUrl)
Subclasses may override
|
bindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationpublic UpdateMethodBinding(Method theMethod, FhirContext theContext, Object theProvider)
protected BaseHttpClientInvocation createClientInvocation(Object[] theArgs, IBaseResource theResource)
protected String getMatchingOperation()
public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<MethodOutcome>protected Set<RequestTypeEnum> provideAllowableRequestTypes()
protected void validateResourceIdAndUrlIdForNonConditionalOperation(IBaseResource theResource, String theResourceId, String theUrlId, String theMatchUrl)
public String getResourceName()
BaseMethodBindingnull if this method is not resource specificgetResourceName in class BaseMethodBinding<MethodOutcome>public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException
invokeClient in class BaseMethodBinding<MethodOutcome>InternalErrorExceptionprotected boolean allowVoidReturnType()
public MethodOutcome invokeClient(String theResponseMimeType, Reader theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws BaseServerResponseException
BaseServerResponseExceptionpublic boolean isReturnVoid()
protected static void parseContentLocation(FhirContext theContext, MethodOutcome theOutcomeToPopulate, String theLocationHeader)
Copyright © 2014–2018 University Health Network. All rights reserved.