Class HttpPutClientInvocation

java.lang.Object
ca.uhn.fhir.rest.client.impl.BaseHttpClientInvocation
ca.uhn.fhir.rest.client.method.HttpPutClientInvocation

  • Constructor Details

    • HttpPutClientInvocation

      public HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theUrlExtension)
    • HttpPutClientInvocation

      public HttpPutClientInvocation(ca.uhn.fhir.context.FhirContext theContext, String theContents, boolean theIsBundle, String theUrlExtension)
  • Method Details

    • getRequestType

      protected ca.uhn.fhir.rest.api.RequestTypeEnum getRequestType()
      Get the HTTP request type.
    • asHttpRequest

      public ca.uhn.fhir.rest.client.api.IHttpRequest asHttpRequest(String theUrlBase, Map<String,​List<String>> theExtraParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, Boolean thePrettyPrint) throws ca.uhn.fhir.parser.DataFormatException
      Description copied from class: BaseHttpClientInvocation
      Create an HTTP request out of this client request
      Specified by:
      asHttpRequest in class BaseHttpClientInvocation
      Parameters:
      theUrlBase - The FHIR server base url (with a trailing "/")
      theExtraParams - Any extra request parameters the server wishes to add
      theEncoding - The encoding to use for any serialized content sent to the server
      Throws:
      ca.uhn.fhir.parser.DataFormatException
    • setForceResourceId

      public void setForceResourceId(org.hl7.fhir.instance.model.api.IIdType theId)
    • setIfNoneExistParams

      public void setIfNoneExistParams(Map<String,​List<String>> theIfNoneExist)
    • setIfNoneExistString

      public void setIfNoneExistString(String theIfNoneExistString)
    • setOmitResourceId

      public void setOmitResourceId(boolean theOmitResourceId)