Class UpdateMethodBinding

All Implemented Interfaces:

public class UpdateMethodBinding extends BaseMethodBinding<>
  • Constructor Details

  • Method Details

    • createClientInvocation

      protected BaseHttpClientInvocation createClientInvocation(Object[] theArgs, org.hl7.fhir.instance.model.api.IBaseResource theResource)
    • 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.
    • getRestOperationType

      public getRestOperationType()
      Specified by:
      getRestOperationType in class BaseMethodBinding<>
    • provideAllowableRequestTypes

      protected Set<> provideAllowableRequestTypes()
    • validateResourceIdAndUrlIdForNonConditionalOperation

      protected void validateResourceIdAndUrlIdForNonConditionalOperation(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceId, String theUrlId, String theMatchUrl)
      Subclasses may override
    • getResourceName

      public String getResourceName()
      Description copied from class: BaseMethodBinding
      Returns the name of the resource this method handles, or null if this method is not resource specific
      Specified by:
      getResourceName in class BaseMethodBinding<>
    • invokeClient

      public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws
      Specified by:
      invokeClient in class BaseMethodBinding<>
    • allowVoidReturnType

      protected boolean allowVoidReturnType()
      Subclasses may override to allow a void method return type, which is allowable for some methods (e.g. delete)
    • invokeClient

      public invokeClient(String theResponseMimeType, InputStream theResponseInputStream, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws
    • isReturnVoid

      public boolean isReturnVoid()
    • parseContentLocation

      protected static void parseContentLocation(ca.uhn.fhir.context.FhirContext theContext, theOutcomeToPopulate, String theLocationHeader)